MFC Include Files: Used for Building MFC Samples

These include files are required for building the Microsoft(R) Foundation Class (MFC) samples. Use them in conjunction with the MFC libraries. The build process assumes that you have Microsoft C Compiler version 7.0 installed.

Copy these include files to your hard drive in a subdirectory of your choice. An example directory structure is shown below:

Parent Directory
|

+------------------+------------------+
| | |
Sample1 Lib Include

To compile a sample program with NMAKE:

1.Ensure that you have the appropriate C runtime and MFC runtime libraries. All MFC library variants necessary for building the samples are provided in binary form in MFC\LIB.

2.NOTE: The MFC sample make files assume that you are using the combined C runtime libraries with emulator math support.

3.Ensure that you have set up your LIB, INCLUDE, and PATH environment variables appropriately. For example:

4.set LIB=C:\C700\MFC\LIB;C:\C700\LIB

5.set INCLUDE=C:\C700\MFC\INCLUDE;C:\C700\INCLUDE

6.set PATH=C:\C700\BIN;C:\WINDOWS;C:\DOS

7.Remember to put the MFC\LIB and MFC\INCLUDE directories in your LIB and INCLUDE paths, respectively, if you wish to compile MFC applications.

8.Change your working directory to the appropriate sample file directory and run NMAKE.

Compilation procedures for the tutorial subdirectory are slightly different than is documented here. See TUTORIAL\README.TXT for more information.

For more information, install the MFC samples using the Microsoft C version 7.0 setup utility and reference the README.TXT files.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the include project." /C"samples}