Click here to Skip to main content
13,048,406 members (146,691 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi. i wrote a openGL project in win32 C++ in vs2008
now , i wanna continue my project in vs2010
but VS2010 give me an error when convert project

unable start project "directory project\...\ map editor.exe"
this app has failed to start because the application configuration is the manifest file for possible errors.
reinstalling  the application may fix this problem.

plz help me!
Posted 9-Oct-12 5:26am
Updated 9-Oct-12 5:32am
Richard MacCutchan 9-Oct-12 11:58am
Did you rebuild it completely with VS2010?
Why would you add your comment as "solution"? It is not? Moreover, why would you accept your own "answer", which is not an answer at all?!
Please don't do such things; it will only cause down-voted and abuse reports.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you project builds correctly, but does not execute as I suspect, then you need to ensure that your application configuration file is setup correctly in your output directory. Perhaps a post build process to copy an appropriate config file to the output directory is the issue?
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I think the problem is with manifest. I remember having the similar issues when converted my projects. Basically, you need to create a new Win32 project in VS2010, then open wits linker properties and copy the stuff from Configuration Properties->Linker->Manifest File to your program.

For Win32 projects you should have this string in your linker command line:
/MANIFESTDEPENDENCY:"type='Win32' name='Microsoft.Windows.Common-Controls' version='' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"

If you had an "old school" manifest that was created via the resources (RT_MANIFEST thing) you need to delete it. It is quite an annoying thing, as I can recall. You will have to go through all your projects and manually change this
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

salam alireza jan
bebin man ham daghigha hamin moshkelo dashtam.barname ke dakhele 2008 neveshte budam ,dakhel opengl 2010ejra dalile inke bazi file haye 2010 ba 2008 fargh dare.bayad in file ha ro az 2008 be dakhele folser 2010 copy koni.
vali ghab az un az file haye 2010 back-up begir.


dar masire zir:
C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include
enhzflep 11-Oct-12 19:47pm
Er, in english please!
alirezamilani 12-Oct-12 5:54am
merC mahdi jan
Rate this: bad
Please Sign up or sign in to vote.

Solution 5

i had these problem too.
i don't know exactly what your problem is but it's so easy.
when you open the 2008 project in 2010, the IDE will convert that to current visual studio automatically.
just it

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

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100