Microsoft KB Archive/76517

= UIASM.OBJ Routines Found Only in CHRTBEFR.LIB Not CHRTBEFR.QLB =

Article ID: 76517

Article Last Modified on 10/20/2003

-

APPLIES TO


 * Microsoft BASIC Professional Development System 7.1
 * Microsoft BASIC Professional Development System 7.0

-



This article was previously published under Q76517



SUMMARY
If you attempt to make an executable file after running the CHRTDEMO.BAS program from the QBX.EXE environment while using the CHRTBEFR.QLB Quick library, you will receive four &quot;unresolved external&quot; error messages when linking. The unresolved externals occur because the UIASM.OBJ object file is not included in the CHRTBEFR.LIB file, although UIASM.OBJ is in the CHRTBEFR.QLB Quick library.

This information applies to Basic Professional Development System (PDS) versions 7.0 and 7.1 for MS-DOS.



MORE INFORMATION
All of the examples in the header of the CHRTDEMO.BAS program, which describe how to create an executable version of CHRTDEMO, are correct. This is because the examples include the use of the UITBEFR.LIB library, and UITBEFR.LIB contains the UIASM.OBJ file and its routines.

Steps to Reproduce Problem
 Invoke QBX.EXE with the CHRTBEFR.QLB Quick library by typing the following at the command prompt:

qbx /l chrtbefr

 From the File menu, choose Load, and load the following files as modules:

CHRTDEMO.BAS

CHRTDEM1.BAS

CHRTDEM2.BAS

GENERAL.BAS

MENU.BAS

MOUSE.BAS

WINDOW.BAS

 From the Run menu, choose Start.

If you then try to make an executable file using the Make EXE command from the Run menu, QBX.EXE will compile all the files, but when linking you will receive four &quot;unresolved external&quot; error messages for ATTRBOX, PUTCOPYBOX, and GETCOPYBOX. These routines are in the UIASM.OBJ file and must be added to the CHRTBEFR.LIB file to link successfully. Add them using the Library Manager (LIB.EXE) as follows: lib chrtbefr.lib + uiasm.obj; This will add the routines to the CHRTBEFR.LIB library. After adding the UIASM routines to the library, the external calls will be resolved and the link process will be successful.

Additional query words: BasicCom 7.00 7.10

Keywords: KB76517

-

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

© Microsoft Corporation. All rights reserved.