WinAPI LowLevel Keyboard Hooks

DLimited tanojoshu at googlemail.com
Thu Jul 19 13:17:38 PDT 2012


On Thursday, 19 July 2012 at 20:06:55 UTC, dnewbie wrote:
> On Thursday, 19 July 2012 at 19:51:31 UTC, DLimited wrote:
>> Yes, I did. Are the newlines important?
>>
>> And you really get a MessageBox per keystroke? I start as 
>> admin, disabled my AV but still, no success.
>
> Yes, I get 2 "WHOA" messages. One from the WM-KEYDOWN and the 
> other from WM-KEYUP.
> Sorry I don't know what is wrong.

THANK YOU for your help! It works now!

I didn't call Runtime.initialize; in my exported function because 
I thought the runtime would already be initialized in the DllMain 
- seems like that is not the case. Wouldn't have thought of it if 
I hadn't had your sample code, though!

Thanks a ton!


More information about the Digitalmars-d-learn mailing list