Microsoft KB Archive/101439

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

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.



Steps to Reproduce Problem
  Create a file named TEST.BAS with the following contents. SUB testsub RUN "program" END SUB   Compile the file to create TEST.OBJ. BC TEST.BAS;  Create an export list file named EXPORT.LST with the following contents.


 * 1) objects

test.obj


 * 1) exports

testsub

  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

-

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

© 2004 Microsoft Corporation. All rights reserved.