Click here to Skip to main content
15,867,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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


plz help me!
Posted
Updated 9-Oct-12 5:32am
v2
Comments
Richard MacCutchan 9-Oct-12 11:58am    
Did you rebuild it completely with VS2010?
Sergey Alexandrovich Kryukov 9-Oct-12 16:41pm    
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.
--SA

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?
 
Share this answer
 
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:
C++
/MANIFESTDEPENDENCY:"type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' 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
 
Share this answer
 
salam alireza jan
bebin man ham daghigha hamin moshkelo dashtam.barname ke dakhele 2008 neveshte budam ,dakhel opengl 2010ejra nemishod.be 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.

afxcomctl32.h
atlcore.h
atlimage.h

dar masire zir:
C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include
 
Share this answer
 
v2
Comments
enhzflep 11-Oct-12 19:47pm    
Er, in english please!
alirezamilani 12-Oct-12 5:54am    
merC mahdi jan
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
 
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