October 8th, 2011, 06:49 AM
[RESOLVED] Receiving Multiple Keyboard Hook Messages
I have been having this problem of receiving multiple keyboard hook messages for every input. . .
e.g. if i press 'h' once , i receive it twice!
I have set the hook using SetWindowsHookEx...
I was wondering if this is because of pressing and releasing the keys which would generate two separate messages ?
i tried masking out the last bit (1 << 31) to see if it works , but still no result!
Can somebody help?
October 8th, 2011, 06:55 AM
Re: [RESOLVED] Receiving Multiple Keyboard Hook Messages
The problem has been solved, it was masking indeed.. only i wasnt masking the correct way . . .
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!