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.