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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.