RegisterHotkey help!

Started by
0 comments, last by Colin Jeanne 15 years, 10 months ago
Hello, for some weird reason my program cannot access the RegisterHotkey function defined in user32.dll I keep getting C3861 errors but I have included Windows.h and made a #pragma comment(lib, "user32.lib") ... What else do I need to include to be able to use this function ?!?!
Advertisement
C3861 is a compiler error, if the problem was that user32.lib wasnt being linked that would be a linker error.

As long as you've included windows.h before using RegisterHotKey() you shouldnt have problems. Can you post a minimal code example that displays the problem and the exact error?

This topic is closed to new replies.

Advertisement