p***@gmail.com
17 years ago
Hi,
I am trying to write a service to hook the keyboard. I am using
SetWindowsHookEx for the same.
The actual keyboard hook is in a DLL. I am able to set the hook
without any error, but still I am not able get call to my callback
routines.
Same hooking works as expected when done through a normal windows
application, but it fails for service.
Can someone give some pointers on how should I go ahead to hook a
keyboard through service.
Thanks in advance.
Pushkar
I am trying to write a service to hook the keyboard. I am using
SetWindowsHookEx for the same.
The actual keyboard hook is in a DLL. I am able to set the hook
without any error, but still I am not able get call to my callback
routines.
Same hooking works as expected when done through a normal windows
application, but it fails for service.
Can someone give some pointers on how should I go ahead to hook a
keyboard through service.
Thanks in advance.
Pushkar