"Pushkar Tiwari"
news:0201DE85-FBA0-4693-BCD9-5B29B7A79A9D@microsoft.com...
> 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
>
Sorry, this is not a development forum. I suggest you post your question in
an appropriate Technet forum.
http://www.microsoft.com/en/us/default.aspx#For+Developers
--
Allan