Questing: How to prevent applications from hooking keyboard

c++ / delphi package - dll injection and api hooking
Post Reply
Arksole Hoax
Posts: 211
Joined: Sat May 08, 2004 11:41 am

Questing: How to prevent applications from hooking keyboard

Post by Arksole Hoax »

i solved the problem. thanks
Last edited by Arksole Hoax on Sat Sep 25, 2004 5:19 pm, edited 1 time in total.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Blocking keyboard hooking would be done by hooking SetWindowsEx, I guess.
Arksole Hoax
Posts: 211
Joined: Sat May 08, 2004 11:41 am

Post by Arksole Hoax »

hmm, danke. could you (madshi) tell me, how can i detect the "exename" from the SetWindowsHookExCallBack procedure ? so i can possibly filter out applications that could/should hook the keyboard. danke im vorraus.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

GetModuleFileName(0, ...).
Post Reply