Using Short Filenames
If you are starting Scribble Step 7 from the Step 6 sample source files, your project filenames must match the short filenames found on the distribution CD. (Class names remain the same.) The distribution CD uses short (8.3) filenames in order to meet ISO standards.
The following list describes the filenames you need to change. For your convenience, class name modifications for this step, as described in the previous procedure, are listed as well.
Note As described in the previous procedure, you must modify these project filenames and class names in the MFC AppWizard – Step 6 of 6 dialog box before creating your project.
For class
CScribbleSrvrItem
, change the class name toCScribbleItem
, the header file to ScribItm.h, and the implementation file to ScribItm.cpp.For class
CScribbleView
, change the header file to ScribVw.h and the implementation file to ScribVw.cpp. As mentioned in the previous procedure, change the base class ofCScribbleView
toCScrollView
.For class
CScribbleDoc
, change the header file to ScribDoc.h and the implementation file to ScribDoc.cpp.
Note As you work through the procedures in this tutorial step, remember that whenever a procedure refers to a long filename you should substitute the equivalent short filename.