DLL hell - deploy with private dependant dlls Microsoft.VC80.CRT & Microsoft.VC90.MFC

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have compiled a c++ Dll and I am trying to deploy with private dependant dlls (ie in same folder as my dll).
The exe (that calls the dll) runs fin on my PC but I want it to run on any recent windows pc funnily enough. So I am testing on a clean Virtual XP machine. This is what my directory looks like and when I run the exe the errors I get including the event log.

<img alt="" src="http://social.msdn.microsoft.com/Forums/getfile/110122


Below is the manifest for my dll. Notice both Microsoft.VC90.CRT & Microsoft.VC80.CRT are referenced.
<?xml version=1.0 encoding=UTF-8 standalone=yes?><br/>
<assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0><br/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3 <br/>
<security><br/>
<requestedPrivileges><br/>
<requestedExecutionLevel level=asInvoker uiAccess=false /><br/>
</requestedPrivileges><br/>
</security><br/>
</trustInfo><br/>
<dependency><br/>
<dependentAssembly><br/>
<assemblyIdentity type=win32 name=Microsoft.VC90.CRT version=9.0.21022.8 processorArchitecture=x86 publicKeyToken=1fc8b3b9a1e18e3b /><br/>
</dependentAssembly><br/>
</dependency><br/>
<dependency><br/>
<dependentAssembly><br/>
<assemblyIdentity type=win32 name=Microsoft.VC90.MFC version=9.0.21022.8 processorArchitecture=x86 publicKeyToken=1fc8b3b9a1e18e3b /><br/>
</dependentAssembly><br/>
</dependency><br/>
<dependency><br/>
<dependentAssembly><br/>
<assemblyIdentity type=win32 name=Microsoft.VC80.CRT version=8.0.50727.4053 processorArchitecture=x86 publicKeyToken=1fc8b3b9a1e18e3b /><br/>
</dependentAssembly><br/>
</dependency><br/>
</assembly>

This is all a DLL hell nightmare to me and any help appreciated. <br/>


View the full article
 
Back
Top