EDN Admin
Well-known member
I have compiled a project that call a dll of "python27.dll".The "python27.dll" dependent the dll of "msvcr90.dll".
I want the application to call global DLLs and the "python27.dll" call local DLLs.
The application manifest looks like:
<pre class="prettyprint <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0
<assemblyIdentity version="0.64.1.0" processorArchitecture="x86" name="Controls" type="win32 </assemblyIdentity>
<description>wxWindows application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="* </assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>[/code]
The "python27.dll" manifest looks like:<br/>
<pre class="prettyprint <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86 </assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="e0dcdcbfcb452747da530fae6b000d47c8674671 <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>KSaO8M0iCtPF6YEr79P1dZsnomY=</dsigigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="81efe890e4ef2615c0bb4dda7b94bea177c86ebd <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>ojDmTgpYMFRKJYkPcM6ckpYkWUU=</dsigigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="5470081b336abd7b82c6387567a661a729483b04 <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>tVogb8kezDre2mXShlIqpp8ErIg=</dsigigestValue></asmv2:hash></file>
</assembly>[/code]
<span style="color:#cc0000 I have removed the “publicKeyToken” attribute from the manifests.
<span style="color:#cc0000 But it make an error.How to do?<br/>
View the full article
I want the application to call global DLLs and the "python27.dll" call local DLLs.
The application manifest looks like:
<pre class="prettyprint <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0
<assemblyIdentity version="0.64.1.0" processorArchitecture="x86" name="Controls" type="win32 </assemblyIdentity>
<description>wxWindows application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="* </assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>[/code]
The "python27.dll" manifest looks like:<br/>
<pre class="prettyprint <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0
<noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86 </assemblyIdentity>
<file name="msvcr90.dll" hashalg="SHA1" hash="e0dcdcbfcb452747da530fae6b000d47c8674671 <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>KSaO8M0iCtPF6YEr79P1dZsnomY=</dsigigestValue></asmv2:hash></file> <file name="msvcp90.dll" hashalg="SHA1" hash="81efe890e4ef2615c0bb4dda7b94bea177c86ebd <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>ojDmTgpYMFRKJYkPcM6ckpYkWUU=</dsigigestValue></asmv2:hash></file> <file name="msvcm90.dll" hashalg="SHA1" hash="5470081b336abd7b82c6387567a661a729483b04 <asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig# <dsig:Transforms><dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity </dsig:Transform></dsig:Transforms><dsigigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1 </dsigigestMethod><dsigigestValue>tVogb8kezDre2mXShlIqpp8ErIg=</dsigigestValue></asmv2:hash></file>
</assembly>[/code]
<span style="color:#cc0000 I have removed the “publicKeyToken” attribute from the manifests.
<span style="color:#cc0000 But it make an error.How to do?<br/>
View the full article