-
How do I create a System-Wide hook? SetWindowsHookEx will only let me create it locally (By locally I mean not system wide). I think i need a DLL for this but can someone give me an example? it can be in C or C++ or VB or whatever language. ;)
Thanks for reading!
-
If your hook is WH_MOUSE or WH_KEYBOARD or WH_CALLWNDPROC then you can replace it with WH_JOURNALRECORD which is one of the only 2 system-wide hooks which don't need a DLL.
Whew, long sentence. :rolleyes:
Hope it's decipherable.
-
Would my callback still process the events?? say if I made a key logger, would it log the keys that i type in a different program as well?
-
Yes, it can be system-wide with no DLL and it can replace WH_KEYBOARD. Read the MSDN help, it's all there. :rolleyes: