Sample Files
You can find the sample files on the book's companion CD, along with other supplemental content. To access the files on the CD, insert the disc in your computer's CD drive and make a selection from the menu that appears. If the AutoRun feature is not enabled on your system (if a menu doesn't appear when you insert the CD into the drive), run StartCD.exe in the root folder of the companion CD. Installing the sample files on your hard disk requires approximately 60 MB of disk space. If you have trouble running any of these files, refer to the text in the book that describes these programs.With a conventional C-language program using the Windows API, the source code files tell the whole story. With the MFC library application framework, things are not so simple. The MFC Application Wizard generates much of the C++ code, and the resources originate in the resource editors. The examples in the early chapters of this book include step-by-step instructions for using the tools to generate and customize the source code files. You'd be well advised to walk through those instructions for the first few examples—there's very little code to type. For the middle chapters, use the code from the sample files but read through the steps to appreciate the role of the resource editors and the wizards. For the final chapters, not all the source code is listed. You'll need to examine the sample files for those examples.Aside from the sample files, the book's supplemental content includes two eBook installations: a standalone eBook installation and a Visual Studio Help eBook installation. The standalone eBook installation allows you to access an electronic version of the print book directly from your desktop. The Visual Studio Help eBook installation allows you to access the second electronic version of the print book directly from the Visual Studio .NET help system.