Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Jun : SetWindowsHookEx with Service?
| Subject: | SetWindowsHookEx with Service? |
| Posted by: | "Ulrich Kobsa" (ulrich.kob..@t-online.de) |
| Date: | 11 Jun 2008 07:53:36 |
Hi,
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
funktionality).
I managed this to work successful using SetWindowsHookEx with
WH_KEYBOARD_LL. All code is inside a dll that is loaded by an normal
application.
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,
Ulrich