Appendix A. The Build Environment

To build the sample applications in this book, you must deal with compiler and linker switch settings. I have tried to isolate these details from the sample applications by putting almost all of these settings in a single header file, called CmnHdr.h, which is included in all of the sample application source code files.

Because I wasn’t able to put all of the settings in this header file, I made some changes to each sample application’s project properties. After selecting all projects, I displayed the Properties dialog box and then made the following changes from the Configuration Properties section:

  • On the General tab, I set the Output Directory so that all final .exe and .dll files go to a single directory.

  • On ...

Get Windows® via C/C++, Fifth Edition now with O’Reilly online learning.

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