I am getting this R6034 error when running program that I just updated (and cleaned) from VS2003 -> VS2008. To be more exact:
“R6034: An application has made an
attempt to load the C runtime library
incorrectly.”
It seems to happed almost at the same place all the time when running. I have no really idea why but I tried some suggestions I found when googleing this. For example adding the msvc dlls, but that didn’t work.
Any help on why this error occurs would be great. Thanks
Starting from Visual Studio 2005 you must refer to the C Run Time using a manifest file.
Referring to the DLL’s by just putting them in the path will give the above error.
The manifest file will look like this:
You can use the MT command to integrate the manifest as a resource in the application, but that’s not mandatory. It’s also allowed to have the manifest besides your application (as MYAPP.EXE.MANIFEST).