Calling into the native function multiple times from within the hooked function?

Oct 7, 2008 at 1:16 PM
Hi Christoph,

  Thanks a lot for this extremely useful library.

  I have a question.  I'm hooking into FindFirstFile and FindNextFile Win32 APIs and from within my hooked function I want to be able to call into the Native function multiple times.  Right now, it goes in as a recursive call into my hooked function itself.  Is there a way to avoid it?

Thanks
Shiva

Coordinator
Oct 11, 2008 at 6:20 PM
That would be strange...

Are you sure that the second call calls the handler again???

Could you please provide some minimal demo code which demonstrates the issue? Seems like a bug---


regards
chris
Oct 12, 2008 at 8:51 AM
Hi Christoph,
  It is my bad.  I misunderstood a bug in my code to be that in EasyHook.  Sorry for the inconvenience.
Thanks
Shiva