MFC Step-by-Step Guide

Tutorial 7

Using a MFC Library


GOAL: Demonstrate the advantage of collecting functional specific files into a seperate software library
PREREQUISITES: Tutorial 6 and the 'MFC Library1' library added to the project and selected as a dependency under the Tutorial 7 project

Collecting and Organizing
  1. There is no difference between Tutorial 6 and Tutorial 7 except for the organization of the source codes.
  2. In 'stdafx.h', add #include "MFC_Library1/MFC_Library1.h" at the bottom
  3. Inside Solution Explorer, Right-Mouse-Button click 'Solution' Tutorial and select Add.. >> Existing Project
  4. Add "MFC_Library1.vcproj" and click Open
  5. Right-Mouse-Button click 'Solution' Tutorial and select Add Dependicies...
  6. Check the "MFC_Library1" and click OK


» Written by William Frankhouser (wjf2@washington.edu)
» Advised by Kelvin Sung (ksung@washington.edu) as part of the project sponsored by the National Science Foundation under Grant No. 0442420. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
» Produced in the "Essential Concepts for Building Interactive Computer Graphics Applications", A.K. Peters, Ltd.