I compiled mfc program using vc2008 on windows server os. I tried to run exe on windows xp sp3. I am getting error as "This a开发者_Python百科pplication has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.". what do i do for solve this.
Thanks, KAM
Ensure you are targeting x86, not x64.
Install VC++ 2008 runtime on destination computer:
http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
This error message is usually associated with a bad .manifest
file of the application. For example, if you have a "foo.exe" application and you put a "foo.exe.manifest" file in the same folder with random content, then you will get this error.
If you are accessing the application via a network share, then you might be running into KB 316625. Check that you really have service pack 3 on the XP computer.
精彩评论