Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have some c++ code(MFC/Desktop Application) that has been written and compiled in visualStudio 6. But i am facing trouble when i include those files in my project that i use to define in visual studio 2010.

My question is that if there exists a backward compatibility between these versions of the vs, then why i am not been able to use the code in vs 2010.
Posted
Comments
chandanadhikari 28-May-15 7:58am    
have to agree with KarstenK answer. Not only has C++ evolved, but Windows itself as a platform has evolved i.e. many new things have been introduced since the glory days of vc6 (for example 64 bit binaries and almost everything is UNICODE ), lot of things got deprecated (like there are APIs/methods/headers/macros which got replaced and hence do not exist any more). So compatibility issues are bound to happen when trying to convert projects between VC6 and VS2010.
KarstenK has given good advice. Try to get the project working in VS 2008 first. You will face some issues. Google them out and resolve them first. Then convert this VS 2008 project to VS 2010.

1 solution

It should work somehow, but it depends on your code because the C++ has evolved. My tip is that you open and save the VS6 project once in a Visual Studio version prior to 2010 to converse the solution file.

Tip: google for the explicit error numbers/texts or write them in your next question. WE ALL CANT GUESS!!!
 
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