kogh
kogh

Reputation: 1015

Converting VC++ 6 project to VC++2010 with MFC

So, I have this code that hasn't been touched since '99, and was made with VS6. I need to be able to compile and change some stuff in the code, SO, after trying the VS2010 conversion wizard, I get a few errors saying certain header files couldnt be found.: afxwin.h , and one other header file that's related to the program. I know it's using MFC, and since I have NOT the express edition of VS, but the full version, I should have all the dependencies required, right?

So I guess my question is: what would be the best way to convert a VS file thats several versions old? Will I have to create a new 2010 C++ proj, and just manually port over all the files?

Thanks!

Upvotes: 1

Views: 5286

Answers (1)

Steve Townsend
Steve Townsend

Reputation: 54128

You could try Create New Project from Existing Code if the conversion is problematic.

VC++ 10 is a lot better on conformance to the standard, so you may find the VC++ 6 source code no longer compiles even when you have a working project file (a good thing). Fixing such problems up is not generally too hard.

Upvotes: 4

Related Questions