From: Chris S. <iro...@ro...> - 2003-07-05 02:18:39
|
Hey All! > I don't think so. Try using a debugger to step into SetDesktopMouseHook > and > see whether hInstance is actually set, because if not then DllMain() is > not > being invoked (of course you could also check this in the code instead of > the debugger), and you might try declaring DllMain() as extern "C". If > that > is the problem, then the reason why it works with MSVC is probably because > their linker does funny things like looking for the C++ mangled name of > DllMain() if the C name is not found. That was indeed the case, thank you much! Chris |