Microsoft KB Archive/58410

= BUILDRTM &quot;Unresolved External&quot; Using OVLDOS21.OBJ; Not Allowed =

Article ID: 58410

Article Last Modified on 11/21/2006



This article was previously published under Q58410



SUMMARY
The stub file OVLDOS21.OBJ, which is shipped with Microsoft Basic Professional Development System (PDS) Versions 7.00 and 7.10 for MS-DOS, can be linked into an .EXE program that uses an extended run-time module, but is not allowed to be built into an extended run-time module.

The link error &quot;L2029: Unresolved external&quot; displays a few times if you attempt to use the BUILDRTM.EXE utility to place the OVLDOS21.OBJ file into an extended run-time module.

The following sentences need to be added to Pages 539, 611, and 663 of the &quot;Microsoft Basic 7.0: Programmer's Reference&quot; manual (for versions 7.00 and 7.10):

Note that you cannot use BUILDRTM to build the OVLDOS21.OBJ stub file into an extended run-time module. You can link OVLDOS21.OBJ into an .EXE program that uses a normal or extended run-time module.



MORE INFORMATION
The following is a correct example to link the OVLDOS21.OBJ stub file for use with an extended run-time module:

LINK import.obj+main.obj+OVLDOS21.obj+(sub1)+(sub2),main.exe,,extrtm.lib;

The OVLDOS21.OBJ stub file shipped with Basic PDS Version 7.00 is provided to support code overlays under MS-DOS Version 2.10. This stub file is not required if overlays are to be used on MS-DOS Versions 3.00 and later. For more information about overlays, search for a separate article by querying on the following words:

how and use and LINK and overlays and Basic and PDS and 7.00

Additional query words: BasicCom

Keywords: KB58410

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.