Visual C++ 6 migrate to Visual Studio 2008
-
Hi, I have to work on a project developed in Visual C++ 6 and it need to migrate to Visual Studio 2008. Can anyone suggest me below things: - What things one should take care? - Is there any procedure to do that? Please provide me as much as information you can provide. Thanks, Sachin
-
Hi, I have to work on a project developed in Visual C++ 6 and it need to migrate to Visual Studio 2008. Can anyone suggest me below things: - What things one should take care? - Is there any procedure to do that? Please provide me as much as information you can provide. Thanks, Sachin
Hi, Microsoft releases a list of what they call 'Breaking Changes' each time they release a new compiler. Breaking Changes in Visual C++ .NET 2003[^] Breaking Changes in the Visual C++ 2005 Compiler[^] Breaking Changes in Visual C++ 2008[^] Breaking Changes in Visual C++ 2010[^] When I am upgrading legacy VC6 applications... I would say that one of the most common problems that I find is within the STL. For example VC6 iterators could be compared to NULL which was non-compliant with the standards. You will now need to compare it to the container.end() Hmmm I guess another issue I see alot is the forced conformance in for-loop scope. It seems alot of VC6 C++ software engineers would re-use variables outside of the loop scope. You can disable the conformance but I usually take the time to fix it. Another common issue that I find within MFC projects... is that some of the MFC message handler function signatures have been changed from UINT to LRESULT. Thats all I can really think of at the moment... Best Wishes, -David Delaune