BUG: BUILDRTM Error L2029 on B$SRUN with RUN Statement

ID: Q101439


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


SYMPTOMS

When you create a custom run-time module that contains a RUN statement, BUILDRTM terminates with error L2029 and displays the following messages:

error L2029: 'B$SRUN' : unresolved external
There was 1 error detected
BUILDRTM : link returned an error -- Check input


CAUSE

The compiler generates a call to B$SRUN, which is a routine in the run-time module VBDRT10E.LIB. However, the component libraries used to create custom run-time modules do not contain B$SRUN, so the linker cannot find the routine.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Steps to Reproduce Problem

  1. Create a file named TEST.BAS with the following contents.
    
       SUB testsub ()
          RUN "program"
       END SUB 


  2. Compile the file to create TEST.OBJ.
    
       BC TEST.BAS; 


  3. Create an export list file named EXPORT.LST with the following contents.
    #objects
    test.obj
    #exports
    testsub


  4. Run BUILDRTM. This runs the linker which terminates with error L2029.
    
       BUILDRTM TESTRTM EXPORT.LST 


Additional query words: VBmsdos buglist1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.