Compatibility between MFC versions

Chung Jae Lee 1 Reputation point
2020-10-06T04:24:38.31+00:00

Hello.

I have the source code of an application program for Windows XP using MFC in Visual Studio 2003.

I am curious to see if the source code of this application can be compiled normally when compiled in Visual Studio 2017.

Also, I am curious about what problems can arise.

Have a nice day.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,597 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,526 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,946 questions
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 40,286 Reputation points
    2020-10-06T10:13:07.273+00:00

    Assuming that Visual Studio 2017 is able to load/upgrade your old C++/MFC project the only way to know the answer to your question is for you try to build the project.

    Recognize that since the days of Windows XP and Visual Studio .Net 2003 everything has evolved. Windows, the C++ language, implementations of the Standard C library and Standard C++ Library, Visual Studio, the MFC framework and more have all changed through the years.

    It is impossible to predict the specific issues that you may encounter in your attempt to move this old code to a modern version of Windows and Visual Studio.

    Take a look at this - visual-cpp-change-history-2003-2015

    1 person found this answer helpful.
    0 comments No comments

  2. Guido Franzke 2,196 Reputation points
    2020-10-06T06:09:41.057+00:00

    Hello,
    read this for compatibility with projects of older Visual Studio versions:
    port-migrate-and-upgrade-visual-studio-projects
    Regards, Guido

    0 comments No comments