Hey

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?