Problems with VC8 runtime  
Author Message
like_antani





PostPosted: Visual C++ General, Problems with VC8 runtime Top

Hi All,

I have a problem with some dlls compiled with VC8. When I try to load a dll I have the error

C Run-Time Error R6034

An application has made an attempt to load the C runtime library incorrectlyAn application has made an attempt to load the C runtime library incorrectly

From MSDN documentation I have discovered that that problem is linked with the presence of manifest files generated by compiler.

My problem is that this *.manifest file does not contains any information of assemblies to be used. A "normal" *.manifest file must be like:

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50215.4631" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>

Unfortunately my *.manifest file is like:

< xml version='1.0' encoding='UTF-8' standalone='yes' >
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
</assembly>

I think this is the problem but I don't know how to solve.

Thanx in advance for your time,

Marcello



Visual C++15  
 
 
Nikola Dudar - MSFT





PostPosted: Visual C++ General, Problems with VC8 runtime Top

Hi Marcello,

Have you checked a manifest embedded into the DLL You may open dll in Visual Studio and browse its resources to RT_MANIFEST. If you have a small project that reproduces issue, please open a report on http://connect.microsoft.com/VisualStudio/.

Thanks,

Nikola



 
 
ebopp





PostPosted: Visual C++ General, Problems with VC8 runtime Top

Hello,

I am having a problem similar to the original poster in this thread. The problem is that sometimes an empty manifest is embeded in the dll. By empty I mean the <assembly> element is present, but doesn't contain the other expected elements (<dependency>, <dependentAssembly>, etc).

Does anyone know what might cause this

I am using VS 2005 SP1.

Thanks,

Eric

 
 
ebopp





PostPosted: Visual C++ General, Problems with VC8 runtime Top

For the record: The problem turned out to be that the build was taking place on a drive that was formatted as FAT32. VS2005 has a project setting to deal with this issue. Set Configuration Properties / Manifest Tool / Use FAT32 Work-around to "Yes". See the VS2005 help for this setting for details about the cause of the problem.