Click here to Skip to main content
14,600,507 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi all

I have defined hooking procedures and made it as Dynamic Link Library, I have one more DLL which has an access to Hooking library.

I am using SendInput to send the events which works fine for some iterations and further crashes (In the sense i am not able to call hooking procedures through SendInput API).

Please let me know what is the problem

What I have tried:

Hi all

I have defined hooking procedures and made it as Dynamic Link Library, I have one more DLL which has an access to Hooking library.

I am using SendInput to send the events which works fine for some iterations and further crashes (In the sense i am not able to call hooking procedures through SendInput API).

Please let me know what is the problem
Posted
Updated 1-Jul-20 23:18pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Without your relevant code fragments? No chance we could even guess what you have done, much less what is wrong with it.
And even with, there is a good chance that we can't do much - without running your code it's probably impossible to tell what is going on, and I for one do not want to start running hooking code that I know crashes on my dev machine - I have no idea what it is doing or even that it's not malicious! Bear in mind that it's really easy to get an unstable system with bad hooking code!

So it's going to be up to you, and that's going to mean some pretty solid WinDbg knowledge.
YOu may find some hints here: WinDbg Hooking[^] - but I suspect that most of 'em are going to be "paid for" courses.

Good luck!
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100