> Unfortunately there are two versions of this function, > SetWindowsHookExW and SetWindowsHookExA. What's the difference? The W-Function is the Unicode version and the A is the ANSI version. Showing the code of your DLL might help.