20.7. Use MFC in static library or use MFC in shared DLL?

There are actually four different versions of the executable you might build. As well as choosing between the Debug and the Release build, you can either bind the *.lib version of the MFC code into your executable, or you can have your executable look for the *.dll version of the MFC code run time.

To control this, open View | Solution Explorer and make sure the Pop project is highlighted. Then select View | Property Pages... | General. [In Version 6.0, simply select Project | Settings... | General.] And then you can edit the Use of MFC field to be Use MFC in a Static Library or Use MFC in a Shared DLL. The DLL option is the Visual Studio default.

If you look at the Pop project settings, ...

Get Software Engineering and Computer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.