cro said:
Dexter said:
*snip*

I use Stingray from Rogue Wave in my application. I add a chart in my test application and the manifest contain more information. I'm recompiling Stingray but I'm not sure if it will work after that.

 

Without Stingray

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false">
</requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8"
processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b">
</assemblyIdentity>
</dependentAssembly> 
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.MFC" version="9.0.21022.8" 
processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b">
</assemblyIdentity> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0"

processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*">
</assemblyIdentity> 
</dependentAssembly> 
</dependency> 
</assembly>

 

With Stingray

<?xml version='1.0' encoding='UTF-8' standalone='yes'?> 
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> 
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 
<security> 
<requestedPrivileges> 
<requestedExecutionLevel level='asInvoker' uiAccess='false' /> 
</requestedPrivileges> 
</security> 
</trustInfo> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' 
processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.MFC' version='9.0.21022.8' 
processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0'

processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' 
processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' language='*' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.30729.4148'

processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.MFC' version='9.0.30729.4148'

processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' /> 
</dependentAssembly> 
</dependency> 
<dependency> 
<dependentAssembly> 
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.30729.4148'

processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' language='*' /> 
</dependentAssembly> 
</dependency> 
</assembly> 

 

The first manifest contains "Microsoft.VC90.DebugCRT". That's a debug version, won't work on a machine that doesn't have VS installed.

The second manifest seems to reference 2 different versions of the runtime so you need to have both versions of the runtime installed on the machine. It's better to recompile the third party dll if you can, mixing 2 different versions of the runtime in a process needs to be done with care and perhaps a bit of black magic Smiley