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.

Reply via email to