SetWindowsHookEx and WH_KEYBOARD_LL not working on xp sp3

  • Thread starter Thread starter BartMan
  • Start date Start date
B

BartMan

Greetings,

I have a c++\cli dll which I call SetWindowsHookEx(). It works great on
Vista sp1, Windows Xp sp2, but on Windows xp sp3, it returns a null everytime.

Is there a new security setting in xp sp3 that I have to disable?

Thanks for any suggestions!
Brett
 
As usual, it seems that if I wait about 5 minutes before posting I find the
solution.
The solution is to pass the current process in to the Setwindowhookex
function call, and then it will work on Windows xp sp3.
 
Back
Top