UIASM.OBJ Routines Found Only in CHRTBEFR.LIB Not CHRTBEFR.QLB (76517)



The information in this article applies to:

  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 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 "unresolved external" 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

  1. Invoke QBX.EXE with the CHRTBEFR.QLB Quick library by typing the following at the command prompt:

    qbx /l chrtbefr

  2. 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

  3. 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 "unresolved external" 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.

Modification Type:MajorLast Reviewed:10/20/2003
Keywords:KB76517