|
|
1.1 root 1: This directory contains the sample program used in the MFC
2: tutorial, PHBOOK. The CMDBOOK and DMTEST programs provided in
3: the C7 version of MFC are not available in the NT Beta release.
4: They will be added in a future release. Please disregard
5: references to DMTEST and PHBOOK in the remainder of this file.
6:
7:
8: These files build three different programs: DMTEST.EXE,
9: CMDBOOK.EXE, and PHBOOK.EXE.
10:
11: DMTEST.EXE is a DOS program that tests the implementation of
12: the CPerson and CPersonList classes.
13:
14: CMDBOOK.EXE is a DOS program that provides a character-based
15: interface to the phone book database. This program has many
16: of the capabilities of the final Windows program, with the
17: exception of print support and (naturally) a graphical user
18: interface.
19:
20: PHBOOK.EXE is a Windows 3.0 program; the final result. This is
21: a simple but complete application that implements a phone book
22: database of CPerson objects.
23:
24: All three programs share a common source file, PERSON.CPP. CMDBOOK.EXE
25: and PHBOOK.EXE also share the database implementation in DATABASE.CPP.
26:
27: The makefiles used to build the samples in this directory put object
28: files and executables in target-specific subdirectories. CMDBOOK and
29: DMTEST use the CHAR subdirectory, while PHBOOK uses the WIN subdirectory.
30:
31: Note: If you switch between building DEBUG and RETAIL versions of
32: a particular application, you should do a clean build. This is required
33: since retail and debug object files are stored in the same target
34: subdirectory. If you fail to delete retail-built object files before
35: switching to a debug build, or vice versa, you will likely have link-time
36: errors.
37:
38: For example:
39:
40: nmake NTMFC=1 -f phbook DEBUG=1
41: nmake NTMFC=1 -f phbook clean
42: nmake NTMFC=1 -f phbook DEBUG=0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.