My question is - what HOOKID to use to have my DLL loaded into *each*
process address space?
Hi,
You need to set Global Hooks ie the last parameter in
SetWindowsHookEx() should be 0. Hooking work for the processes which
have message queues. Console application dont have message queue. You
can verify this by running spy++.
Hope this helps
Dinesh.