|
Re: DLL is not loaded
[Re: PadMalcom]
#448503
02/08/15 15:06
02/08/15 15:06
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
check to see if you have visual studio runtime installed , same year I think as you dll projects were ..
if I understood correct. .
jb
Compulsive compiler
|
|
|
Re: DLL is not loaded
[Re: Wjbender]
#448504
02/08/15 16:59
02/08/15 16:59
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
you can also recompile your dll ,but try to link different with
C++ Code Generation" > "Runtime Library", choose "Multithreaded (/MT)" as opposed to "Mutithreaded (Static)".
One of those options will link the extra libraries and stuff into you dll directly.
jb
Compulsive compiler
|
|
|
Re: DLL is not loaded
[Re: MasterQ32]
#448508
02/08/15 18:23
02/08/15 18:23
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
yeah I dont see how loadlibrary could achieve what the engine startup couldn't but hey I have seen weirder ..
this is pretty odd behaviour , the only thing I could think of was the standard libraries weren't staticly linked and therefore required the runtime libraries available for dynamic linking ..
the visual studio service packs includes runtimes for crt mfc etc etc ,so if uts not in there then masterq32 is on to the answer for sure.
like to know what went wrong too if you solve it
Last edited by Wjbender; 02/08/15 20:19.
Compulsive compiler
|
|
|
Re: DLL is not loaded
[Re: PadMalcom]
#448510
02/08/15 19:18
02/08/15 19:18
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
yeah missing dependency , great tool masterq32
Last edited by Wjbender; 02/08/15 22:48. Reason: mistaken identity wtf
Compulsive compiler
|
|
|
Re: DLL is not loaded
[Re: PadMalcom]
#448511
02/08/15 19:57
02/08/15 19:57
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
@MasterQ32: Nice tool, found the error using it I'm writing a Steam plugin and I forgot to add the steam_api.dll to the game folder. Now it works. Nevertheless, I have no idea why GS did not load the DLL. Maybe because all exported functions were unbound? ... Try to load a DLL linked to another DLL via LoadLibrary as I told you and it will return NULL because not all functions could be resolved. This could have been easy with LoadLib and GetLastError.
|
|
|
|