Microsoft KB Archive/63268

= BUILDRTM with PROISAM(D) Must Have OBJ and LIB in Export List =

Article ID: 63268

Article Last Modified on 8/16/2005

-

APPLIES TO


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

-



This article was previously published under Q63268



SUMMARY
To build ISAM support into a custom run-time module (instead of using ISAM from the separate TSR program), you must specify in BUILDRTM's Export List file both the object (.OBJ) and library (.LIB) forms of your chosen ISAM library (PROISAM or PROISAMD). If either the object or library form is left out of the Export List file, LINK.EXE flags numerous occurrences of L2025 (&quot;Symbol defined more than once&quot;) and L2029 (&quot;Unresolved external&quot;).



MORE INFORMATION
The following Export List file (arbitrarily named ISAM.EXP) shows the files that need to be specified to put PROISAMD into a custom run-time module:


 * 1) ISAM.EXP


 * 1) OBJECTS

PROISAMD.OBJ


 * 1) (specify additional OBJs here)


 * 1) LIBRARIES

PROISAMD.LIB

You must also specify an #EXPORTS list, which is a list of all the routines that you wish your program to access. For PROISAM, this would include routines such as INSERT, SEEKGT, CREATEINDEX, and so forth.

The command line to build the custom run-time module specified by the above Export List file is as follows:   BUILDRTM /LR ISAMRUN ISAM.EXP This BUILDRTM command outputs three files: IMPORT.OBJ and ISAMRUN.LIB (used to resolve LINK references to your custom run-time module) and ISAMRUN.EXE (your custom run-time module).

To LINK the above run-time module to a Basic program, use the following LINK command:   LINK IMPORT.OBJ+yourfile.OBJ,yourfile.EXE,,ISAMRUN.LIB; For more information about using BUILDRTM.EXE, see chapter 21, &quot;Building Custom Run-Time Modules,&quot; in the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; for 7.0 and 7.1.

Additional query words: BasicCom 7.00 7.10

Keywords: KB63268

-

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

© Microsoft Corporation. All rights reserved.