Microsoft KB Archive/101439

From BetaArchive Wiki

PSS ID Number: 101439

Article Last Modified on 1/8/2003

The information in this article applies to:

  • Microsoft Visual Basic for MS-DOS 1.0

This article was previously published under Q101439


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


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.


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.


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.


    1. exports

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


Additional query words: VBmsdos buglist1.00

Keywords: kbbug KB101439
Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3