Q28020: How to Modify the BASIC 6.00 Run-Time Module with BUILDTRM
Article: Q28020
Product(s): See article
Version(s): 6.00 6.00b 7.00 | 6.00 6.00b 7.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 7-FEB-1990
Using BUILDRTM, you can modify the default BASIC run-time modules. The
runtime can be customized to a particular application. You can add
routines to or delete routines from the BASIC runtime.
This information applies to Microsoft BASIC Compiler Versions 6.00 and
6.00b for MS-DOS and MS OS/2 and to Microsoft BASIC Professional
Development System (PDS) Version 7.00 for MS-DOS and MS OS/2. The
following are the default run-time module names for the applicable
products:
BC 6.00 BC 6.00b PDS 7.00
------- -------- --------
BRUN60ER.EXE BRUN61ER.EXE BRT70ENR.EXE
BRUN60AR.EXE BRUN61AR.EXE BRT70EFR.EXE
BRT70ANR.EXE
BRT70AFR.EXE
For more information, please refer to Section 3.3 of the "Microsoft
BASIC Compiler 6.0: User's Guide" for Microsoft BASIC Compiler Version
6.00 or 6.00b, or Chapter 21 of the "Microsoft BASIC 7.0: Programmer's
Guide" for Microsoft BASIC PDS Version 7.00.
The following is an example:
===== EXPORT.LST =====
#OBJECTS
NOLPT.OBJ
NOGRAPH.OBJ
MYROUTINE.OBJ
#EXPORTS
myroutine1
myroutine2
myroutine3
===== COMMAND LINE to CREATE the RUNTIME =====
BUILDRTM newruntime export.lst
===== COMMAND LINE to USE the RUNTIME =====
LINK IMPORT.OBJ your objects,executable,,NEWRUNTIME.LIB /NOD
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.