Error L2029 "Unresolved External" Due to Wrong LIB.EXE Syntax (63659)



The information in this article applies to:

  • Microsoft QuickBASIC 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBASIC 4.5
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1

This article was previously published under Q63659

SUMMARY

If a comma instead of a plus (+) sign is used on the LIB utility command line to indicate an additional object filename, the following will occur:

  1. The .LIB file will be created without error but will not contain the additional .OBJ file.
  2. The additional .OBJ will be interpreted as the .LST (listing) file and thus be overwritten.
  3. An "L2029: unresolved external" error will occur at link time.
This information applies to the LIB.EXE utility when used with any supported Microsoft language, such as Microsoft QuickBasic versions 4.00, 4.00b, and 4.50, Microsoft Basic Compiler versions 6.00 and 6.00b for MS-DOS and MS OS/2, and Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS and MS OS/2.

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:KB63659