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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

paulnicCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Novell Netware

From novice to tech pro — start learning today.