Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

In vc++, I am getting below error when try to run exe (Myapp.exe) on windows XP machines.

Not sure why...


Program: C:\Program Files\MyApplicationFolder\Myapp.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.

Observation: There is a manifest file corresponding to EXE, when I rename that manifest file, I can see that Myapp.exe runs succesfully.

How does the manifest file depend with EXE and why I get above error when I do not rename.

Regards,
Joy
Posted

1 solution

In the manifest are the dlls with its versions for the app. The Microsoft-runtime searches and loads at startup the manifest. If it doesnt find that matching dll versions it complains- When you rename the manifest the loaders finds NOT that manifest, and maybe it uses the manifest in exe or defaults to something.



PS: if you had appended the manifest, I had a better understanding of your "DLL Hell" ;-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900