BUG: Error 16 Messages Building MAKEAPP Sample w/ MAKEAPP.BAT

ID: Q102366

1.00 1.50 WINDOWS kbtool kbbuglist kbfasttip

The information in this article applies to:

SYMPTOMS

An attempt to run the MAKEAPP.BAT file provided with the MAKEAPP sample program fails and Visual C++ generates the following messages:

   C:\MSVC\SAMPLES\MAKEAPP>makeapp c:\myapp myapp MyApplication
   file(s) c:\myapp\makefile not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\makefile not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\myapp.dlg not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\myapp.dlg not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\dlgdefs.h not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\dlgdefs.h not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\menu.h not found.
   rep: Error 16: No such source file.
   file(s) c:\myapp\menu.h not found.
   rep: Error 16: No such source file.

CAUSE

The errors occur because the following four files are missing from the MAKEAPP distribution:

   DLGDEFS.H
   MAKEAPP.DLG
   MAKEFILE
   MENU.H

A MAKEAPP.MAK file appears in the distribution but it does not build the MAKEAPP sample even if you rename it to MAKEFILE.

RESOLUTION

An older, complete copy of this example is available in the Microsoft Developer's Network CD-ROM in the Samples City section. (The incomplete Visual C++ sample is in the product samples section of the MSDN CD-ROM.)

STATUS

Microsoft has confirmed this to be a problem in Visual C++ version 1.0 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

This problem does not occur in Visual C++ 32-bit edition.

MORE INFORMATION

For more information on the MAKEAPP sample program, please query in the Microsoft Knowledge Base on the following words:

   MAKEAPP generates strict sample

Additional reference words: 1.00 1.50 KBCategory: kbtool kbbuglist kbfasttip KBSubcategory: CodeSam
Keywords          : kb16bitonly 
Version           : 1.00 1.50

Last Reviewed: July 18, 1997