I'm trying to install a global hook. If i issue this command :
hHook = SetWindowsHookEx(WH_KEYBOARD, MouseProc, 0,GetCurrentThreadId());
it works fine, but, of course, this isn't a global hook, it's only a local one. Now, this should be a global hook:
hHook = SetWindowsHookEx(WH_KEYBOARD...