If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Keyboard hook from Windows Service
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 |
Ads |
Thread Tools | |
Display Modes | |
|
|