KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q68689: Error L2029 with Unresolved Externals in CRTCOM.LIB

Article: Q68689
Product(s): See article
Version(s): 2.51
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_masm
Last Modified: 31-JAN-1991

If you are attempting to build a .COM file from a .ASM file and you
get the following unresolved external references on the link step, you
may have included CRTCOM.LIB in error:

   _main            __NMSG_WRITE
   __FF_MSGBANNER   __nullcheck
   __setenvp        __fptrap
   __setargv        __acrtmsg

This file is automatically included on the link line if the link
options are set to generate a .COM file from a .C file. To change this,
choose Make from the Options menu, choose the Linker Flags menu, and
change "Generate .COM file" to ASM.






Microsoft Programmer's Work Bench [Development Environment]
=============================================================================

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.