KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q42848: TURTLE.C, MENU.C, TOOLS.C Not Stand-Alone Programs in QuickC

Article: Q42848
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 2-MAY-1989

The sample source files TURTLE.C, MENU.C, and TOOLS.C included with
the QuickC Version 2.00 compiler are not stand-alone programs. They
are modules used by the programs GRDEMO.C, LIFE.C and CHRTDEMO.C.
Attempting to compile and link one of these modules by itself will
result in the following error message:

xLIBCE.LIB(dos\crt0.asm) : error L2029 : '_main' : unresolved external

In the above error message, "x" stands for the (S, M, C, L) memory
model.

Use the supplied NMAKE files to compile and link each of these three
demo programs. To perform this procedure inside the QuickC 2.00
environment, load the desired demo source file and set the program
list to the corresponding NMAKE file (GRDEMO.MAK, LIFE.MAK, or
CHRTDEMO.MAK). Outside the environment, you only need to type NMAKE
followed by the desired NMAKE file name.

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.

Copyright Microsoft Corporation 1986-2002.