Solved

Migrating Application from Visual Studio C++ 6.0 using MFC to Visual Studio C++ 2008

Posted on 2010-08-20
2
731 Views
Last Modified: 2013-12-14
Hi,

I want to Migrate Windows Form application written in Visual Studio C++ 6.0, using MFC to Visual Studio C++ 2008. I allowed the VS2008 upgrade the code automatically, but I still get the errors while build, specially with header files like fstream.h and iostream.h. Is there any reference guide or case study I can refer to, which will guide me with the steps to take to completely migrate the code, and issue I may face with the migration.
0
Comment
Question by:Abhimanyu_Shukla
2 Comments
 
LVL 33

Accepted Solution

by:
pgnatyuk earned 250 total points
ID: 33483115
In Visual Studio 6.0 in an MFC project we didn't have any Windows Form.
It is really a legacy code and so you get a lot of warning and errors related to the C++ language and STL. You should fix all of them one by one.
On MSDN you can find Migration guides beginning from VS 6.0 (1998).
http://msdn.microsoft.com/en-us/library/aa260842(VS.60).aspx

Visual Studio 2005 migration guide
http://www.virtualdub.org/blog/pivot/entry.php?id=108

But even if you will read all these guides VS6.0->VS 2003->VS2005->VS2008, you will not find a receipt for your case.
0
 

Author Closing Comment

by:Abhimanyu_Shukla
ID: 33503460
The suggested approach does not have much of automation involved. It seems then, that that may be the only approach out there, but I am not convinced.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
zeroMAx challenge 20 88
I could not build boost code, 10 79
java. non-English characters encoding problem. intellij idea 3 74
How search webpage "viewable text" only 1 63
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now