Microsoft KB Archive/101439

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 08:18, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

    1. 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: kbbug KB101439
Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3