SetWindowsHookEx and WH_KEYBOARD_LL not working on xp sp3

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
 
B

BartMan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top