Hello all. None of you have ever heard from me before but I've been lurking on the mail list for quite some time now and am beginning to teach myself Win32 programming. While attempting to create a hotkey application using windows hooks I came across a problem I was hoping someone could help me with.
After successfully loading the dll using LoadLibrary, I'm attempting to get a pointer to a CALLBACK function like so
FARPROC pFunc = GetProcAddress(hDll, "KeyProc");
for some reason, this is returning NULL. If I change the name of the function to something that isn't a CALLBACK function it works fine though. Is there something special about CALLBACK functions that I'm missing? All help is appreciated.
Dan