WinAPI LowLevel Keyboard Hooks

DLimited tanojoshu at googlemail.com
Thu Jul 19 09:38:18 PDT 2012


>
> I guess you have to 'export' the function:
> extern (Windows) export LRESULT LowLevelKeyboardProc(int code, 
> WPARAM
> wParam, LPARAM lParam)
>
> and include
> EXPORTS
>   LowLevelKeyboardProc
>
> in the .DEF file

Thanks, I changed that. Also, I changed LoadLibraryW( ) to
LoadLibraryA( ) in the main program and now it works (kinda). I
feel stupid now, although I still don't get why it wouldn't work
with LoadLibraryW.


More information about the Digitalmars-d-learn mailing list