| 1 |
======================================================================== |
| 2 |
MICROSOFT FOUNDATION CLASS LIBRARY : CppUnitTestApp |
| 3 |
======================================================================== |
| 4 |
|
| 5 |
|
| 6 |
AppWizard has created this CppUnitTestApp application for you. This application |
| 7 |
not only demonstrates the basics of using the Microsoft Foundation classes |
| 8 |
but is also a starting point for writing your application. |
| 9 |
|
| 10 |
This file contains a summary of what you will find in each of the files that |
| 11 |
make up your CppUnitTestApp application. |
| 12 |
|
| 13 |
CppUnitTestApp.dsp |
| 14 |
This file (the project file) contains information at the project level and |
| 15 |
is used to build a single project or subproject. Other users can share the |
| 16 |
project (.dsp) file, but they should export the makefiles locally. |
| 17 |
|
| 18 |
CppUnitTestApp.h |
| 19 |
This is the main header file for the application. It includes other |
| 20 |
project specific headers (including Resource.h) and declares the |
| 21 |
CppUnitTestApp application class. |
| 22 |
|
| 23 |
CppUnitTestApp.cpp |
| 24 |
This is the main application source file that contains the application |
| 25 |
class CppUnitTestApp. |
| 26 |
|
| 27 |
CppUnitTestApp.rc |
| 28 |
This is a listing of all of the Microsoft Windows resources that the |
| 29 |
program uses. It includes the icons, bitmaps, and cursors that are stored |
| 30 |
in the RES subdirectory. This file can be directly edited in Microsoft |
| 31 |
Visual C++. |
| 32 |
|
| 33 |
CppUnitTestApp.clw |
| 34 |
This file contains information used by ClassWizard to edit existing |
| 35 |
classes or add new classes. ClassWizard also uses this file to store |
| 36 |
information needed to create and edit message maps and dialog data |
| 37 |
maps and to create prototype member functions. |
| 38 |
|
| 39 |
res\CppUnitTestApp.ico |
| 40 |
This is an icon file, which is used as the application's icon. This |
| 41 |
icon is included by the main resource file CppUnitTestApp.rc. |
| 42 |
|
| 43 |
res\CppUnitTestApp.rc2 |
| 44 |
This file contains resources that are not edited by Microsoft |
| 45 |
Visual C++. You should place all resources not editable by |
| 46 |
the resource editor in this file. |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
///////////////////////////////////////////////////////////////////////////// |
| 52 |
|
| 53 |
AppWizard creates one dialog class: |
| 54 |
|
| 55 |
CppUnitTestAppDlg.h, CppUnitTestAppDlg.cpp - the dialog |
| 56 |
These files contain your CppUnitTestAppDlg class. This class defines |
| 57 |
the behavior of your application's main dialog. The dialog's |
| 58 |
template is in CppUnitTestApp.rc, which can be edited in Microsoft |
| 59 |
Visual C++. |
| 60 |
|
| 61 |
|
| 62 |
///////////////////////////////////////////////////////////////////////////// |
| 63 |
Other standard files: |
| 64 |
|
| 65 |
StdAfx.h, StdAfx.cpp |
| 66 |
These files are used to build a precompiled header (PCH) file |
| 67 |
named CppUnitTestApp.pch and a precompiled types file named StdAfx.obj. |
| 68 |
|
| 69 |
Resource.h |
| 70 |
This is the standard header file, which defines new resource IDs. |
| 71 |
Microsoft Visual C++ reads and updates this file. |
| 72 |
|
| 73 |
///////////////////////////////////////////////////////////////////////////// |
| 74 |
Other notes: |
| 75 |
|
| 76 |
AppWizard uses "TODO:" to indicate parts of the source code you |
| 77 |
should add to or customize. |
| 78 |
|
| 79 |
If your application uses MFC in a shared DLL, and your application is |
| 80 |
in a language other than the operating system's current language, you |
| 81 |
will need to copy the corresponding localized resources MFC42XXX.DLL |
| 82 |
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, |
| 83 |
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. |
| 84 |
For example, MFC42DEU.DLL contains resources translated to German.) If you |
| 85 |
don't do this, some of the UI elements of your application will remain in the |
| 86 |
language of the operating system. |
| 87 |
|
| 88 |
///////////////////////////////////////////////////////////////////////////// |