INF: MFC Tutorial Programs May Give Error U1054 in PWB

ID Number: Q85487

1.00

MS-DOS

Summary:

SYMPTOMS

When using the Programmer's WorkBench (PWB) that shipped with the

Microsoft C/C++ Compiler version 7.0 to build the sample programs

in the \C700\MFC\SAMPLES\TUTORIAL directory, if the subdirectories

CHAR and WIN do not exist, the following errors may be generated:

Fatal Error U1054 : cannot create inline file 'CHAR\dmtest.rsp'

Fatal Error U1054 : cannot create inline file 'CHAR\cmdbook.rsp'

Fatal Error U1054 : cannot create inline file 'WIN\phbook.rsp'

CAUSE

The makefiles for the Microsoft Foundation Classes (MFC) tutorial

create their .OBJ files and .EXE files in the CHAR and WIN

subdirectories of the TUTORIAL directory. If these directories do

not exist, the above error messages may be generated. For example,

if the files in the TUTORIAL subdirectory are copied to a new

subdirectory with the MS-DOS COPY command, the CHAR and WIN

subdirectories will not be copied.

These subdirectories are created by default by the Microsoft C/C++

Setup program.

RESOLUTION

If these subdirectories do not exist, they may be created from an

MS-DOS prompt with the MKDIR command. Change to the subdirectory

where the tutorial files are located, and type the commands:

MKDIR WIN

MKDIR CHAR

Additional reference words: 1.00 7.00