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

Last reviewed: July 17, 1997
Article ID: Q102366
1.00 1.50 WINDOWS kbtool kbbuglist kbfasttip

The information in this article applies to:

  • Microsoft Visual C++ for Windows, versions 1.0 and 1.5

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.