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.
Claude050897Asked:
Who is Participating?
 
paulnicConnect With a Mentor Commented:
Claude,

Guess there are all kinds of Netware experts, but you're probably deeper into the programming aspect than many of the folks I've seen here.  You may find good answers faster for this and your other question if you use a usenet newsreader (Free Agent, Communicator, IE4 etc.) to access the news server at devsup.netpub.com - No ID or password is required.

Under the novell.devsup.supported.* hierarchy, you'll get responses from Novell staff who support the SDK's and other developer products.  Of course, you may want to hurry...or wait a week...because most of Novell's top talent will be busy next week (23-27) at their annual Brainshare conference in Utah.

Peace^^Paul
0
 
Claude050897Author Commented:
Thanks for the advice. I just get so many junk mail from working on news groups, that I try to keep news groups to the minimum...
But I will give it a try!
0
 
paulnicCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.