SetWindowsHookEx with Service?

Giganews Newsgroups
Subject: SetWindowsHookEx with Service?
Posted by:  Ulrich Kobsa (ulrich.kob…
Date: 11 Jun 2008


I need to log all keystrokes that are done by the current user and
block some special ones (software is for an Internet Cafe: avoid
certain Windows shortcuts so that the user can enter system
I managed this to work successful using SetWindowsHookEx with
WH_KEYBOARD_LL. All code is inside a dll that is loaded by an normal
Now I need to do the same where not a normal application injects
hooking but a service. And here no logging happens. So what Am I
missing here?

Can this be done?

kind regards,