Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Win32 OpenGL
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:
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 9-Oct-12 5:26am
Edited 9-Oct-12 5:32am
v2
Comments
Richard MacCutchan at 9-Oct-12 11:58am
   
Did you rebuild it completely with VS2010?
Sergey Alexandrovich Kryukov at 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
Rate this: bad
good
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 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
  Permalink  
v2
Comments
enhzflep at 11-Oct-12 19:47pm
   
Er, in english please!
alirezamilani at 12-Oct-12 5:54am
   
merC mahdi jan
Rate this: bad
good
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
  Permalink  
Rate this: bad
good
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?
  Permalink  
Rate this: bad
good
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='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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 553
1 CPallini 470
2 Sergey Alexandrovich Kryukov 418
3 George Jonsson 231
4 Afzaal Ahmad Zeeshan 194
0 OriginalGriff 5,370
1 CPallini 4,360
2 Sergey Alexandrovich Kryukov 3,822
3 George Jonsson 3,037
4 Gihan Liyanage 2,435


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2014
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