Z
zzzar
Unregistered / Unconfirmed
GUEST, unregistred user!
dll中<br>procedure sethooks<br>...<br>hCallWndHook := SetWindowsHookEx(WH_CALLWNDPROC,@CallWndProc,hInstance,0);<br>hOldKeyHook := SetWindowsHookEx(WH_KEYBOARD,@KeyHookProc,hInstance,0);<br>...<br>我共设置了两个Hook,<br>exe中<br>sethooks<br>调试发现两个hook均安装成功,但是发现WH_CALLWNDPROC仅对本进程有效,而WH_KEYBOARD则对所有键盘输入有效<br><br>请问这是为什么?<br><br>谢谢!