« Online journalism | Back to main page | Proverbs 18:22 »
07.04.06
DLL Hell
Some more technical content in-between... Microsoft has brought the well-known and well-hated DLL hell to a new level: dependent side-by-side assemblies. It is actually an interesting way to let applications specify the versions of libraries that they need. However, that went rather wrong with a concrete application I was dealing with: Our application wants to use a DLL built using Visual Studio 2005 Express Edition. When loading the DLL, a message appears that MSVCR80D.DLL (MSVCR80.DLL for release versions) cannot be found. When copying the DLLs from the SxS directory into the Windows directory, you get error R6034. The only solution I found is to create a file MyApplication.exe.manifest, with the following contents:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
Posted by crenz, 07.04.06 10:57
Trackback-Pings
TrackBack-URL zu diesem Eintrag:
http://christian.web42.com/mt/mt-tb.cgi/64
Kommentare
Danke!! Funktioniert. :)
Verfasst von: Hans um 19.12.06 09:59
wie mach ich das genau ?
Verfasst von: erebos um 16.05.07 18:03

