Click here to Skip to main content
15,902,938 members

Comments by Kydz_Leo (Top 2 by date)

Kydz_Leo 12-May-12 23:12pm View    
Thanks for reply, I`ve done the check and there is a return value. And i also called GetLastError, but there is not any errors which probably means that SetWindowsHookEx works OK, I think that is the problem of CALLBACK function not been called.
Kydz_Leo 12-May-12 1:09am View    
Firstly, thanks for the solution, I created a data segment and declared all the global variables in it, but still not working, according to MSDN journal hooks do not need to live in a DLL, so I think the declarations are OK, the problem is why the hook procedure is not been called...