Phase 3. Integrate Further with MFC

Phase 3 includes a number of extra steps you can take to integrate your code more tightly with the MFC framework and take advantage of the framework's facilities:

Tip Use the MFC Migration tool to help work through the porting issues in your code. See Using the MFC Migration Tool.

Figure 1 shows the conversion process schematically. In the upper path, which includes steps 1 and 4, you compile your C code with a high warning level and then recompile it as C++, fixing errors until it compiles successfully. In the final step at the lower right, you migrate portions of your new C++ code into a new MFC skeleton application.

Beyond that, there are other things you can do, but just doing this much accomplishes several goals. It:

Tip Before you continue, it might be wise to learn the fundamentals of MFC by trying out the Scribble tutorial. In Visual C++ version 2.0, the tutorial is in Introducing Visual C++. In earlier versions, the tutorial is in the Class Library User's Guide.