WH_KEYBOARD

c++ / delphi package - dll injection and api hooking

WH_KEYBOARD

Postby wrastus » Tue Jun 08, 2004 12:32 am

What API can I hook using madCodeHook in order to to get the same result as using setwindowshookex(wh_keyboard). Me, delphi, and hooks do not appear to get along well. Any help would be greatly appreciated.
wrastus
 
Posts: 1
Joined: Tue Jun 08, 2004 12:29 am

Postby madshi » Tue Jun 08, 2004 8:38 am

Well, keyboard input goes through the normal message APIs like GetMessage and PeekMessage. However, I really do recommend using SetWindowsHookEx for hooking these things. It's always recommended to use the official API - if there is one.
madshi
Site Admin
 
Posts: 9774
Joined: Sun Mar 21, 2004 5:25 pm


Return to madCodeHook

Who is online

Users browsing this forum: No registered users and 7 guests