G
Guest
I have a dll that was working in VC6, but isn't loading after being built in
VC71. LoadLibrary() returns null and the error code (from GetLastError()) is
-2147483645 "One or more arguments are invalid".
If I use LoadLibraryEx(dll,NULL,DONT_RESOLVE_DLL_REFERENCES) it loads fine
(returns non-null). I've looked in Dependency Walker and it doesn't show any
missing dependencies.
The DllMain in this dll has been pared down to a simple "return 1".
I don't know how else to go about figuring out what is wrong with my dll.
Perhaps there are preprocessor defs or other project settings that I can play
with? Are there other tools I can use to figure out what's happening?
Tomrmgc
VC71. LoadLibrary() returns null and the error code (from GetLastError()) is
-2147483645 "One or more arguments are invalid".
If I use LoadLibraryEx(dll,NULL,DONT_RESOLVE_DLL_REFERENCES) it loads fine
(returns non-null). I've looked in Dependency Walker and it doesn't show any
missing dependencies.
The DllMain in this dll has been pared down to a simple "return 1".
I don't know how else to go about figuring out what is wrong with my dll.
Perhaps there are preprocessor defs or other project settings that I can play
with? Are there other tools I can use to figure out what's happening?
Tomrmgc