Claude050897
asked on
NWAddFSMonitorHook(...) question
Loading the fshook.nlm sample file that comes with the Novell SDK, I can sometimes execute a file once, but then the openFileCallBackFunc() or closeFileCallBackFunc() will
execute more than once for the same connection at the same time. Why? The same happens when catching other events like logins. Closing the file, a file handle is returned with which one can use FEGetOpenFileInfo (). This gives a Status Flag. The status flag differs for each time the closeFileCallBackFunc executes for the same file being closed.
Any help on how to catch an opened file or closed file only one will be very much appreciated.
Thanks.
execute more than once for the same connection at the same time. Why? The same happens when catching other events like logins. Closing the file, a file handle is returned with which one can use FEGetOpenFileInfo (). This gives a Status Flag. The status flag differs for each time the closeFileCallBackFunc executes for the same file being closed.
Any help on how to catch an opened file or closed file only one will be very much appreciated.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have had junkmail also from other groups. Novell DevSup groups are not distributed through usenet (available only from Novell's server), and only moderately trafficked, so I think it's pretty safe. I've seen no spam there so far, anyway. Besides, a lot of people post with a modified sender address so a spammer's "harvesting" program has a difficult time cleaning it up, but a person can figure it out easily.
ASKER
But I will give it a try!