Unresolved External Making Quick Library from CHRTB.BAS (60425)






This article was previously published under Q60425

SUMMARY

The CHRTB.BAS file contains Basic source code for the Presentation Graphics Toolbox Chart Routines.

At the beginning of this file, there are instructions for creating a library and Quick library that contain the charting routines found in CHRTB.BAS. However, numerous unresolved external link errors (L2029) will be produced unless alterations are made to these instructions.

This documentation error occurs in the CHRTB.BAS file in Microsoft Basic Professional Development System (PDS) Versions 7.00 and 7.10 for MS-DOS.

MORE INFORMATION

Since CHRTB.BAS makes calls to routines found in the Fonts Toolbox, FONTB.OBJ and FONTASM.OBJ must be included when making a library or Quick library out of CHRTB.BAS. These two files were mistakenly omitted from the instructions found in the CHRTB.BAS file.

The correct method of creating a library and Quick library containing the charting routines found in CHRTB.BAS is as follows:

BC /X /FS chrtb.bas
BC /X /FS fontb.bas
LIB chrtb.lib +chrtb+chrtasm+fontb+fontasm+qbx.lib;
LINK /Q chrtb.lib, chrtb.qlb,,qbxqlb.lib;

If the charting routines are going to be used in conjunction with the User Interface Toolbox source code (GENERAL.BAS, WINDOW.BAS, MENU.BAS, and MOUSE.BAS), the library should instead be created in the following manner:

LIB chrtb.lib +chrtb+chrtasm+uiasm+fontb+fontasm+qbx.lib;


Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB60425