KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q60425: Unresolved External Making Quick Library from CHRTB.BAS

Article: Q60425
Product(s): See article
Version(s): 7.00 7.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | SR# S900402-93 docerr | mspl13_basic
Last Modified: 8-JAN-1991

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.

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;

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.