Microsoft KB Archive/33707

= &quot;Error R6000: Stack Overflow&quot; in Non-Stand-Alone Program =

Article ID: 33707

Article Last Modified on 11/21/2006



This article was previously published under Q33707



SYMPTOMS
When certain programs that are heavily laden with $INCLUDE statements are compiled in BC.EXE without the /O option (not stand-alone), the following run-time error can repeatedly display on the screen for about 20 seconds, and then the computer can hang:

R6000:Stack Overflow



WORKAROUND
The current workaround is to reduce the number of $INCLUDE statements.

With QuickBasic Version 4.00b and Basic Compiler 6.00 and 6.00b, the problem usually does not occur if you compile with the BC /O (stand-alone) option. However, the error message occurs for both stand-alone and non-stand-alone programs with QuickBasic Version 4.50.

This problem does not occur in QuickBasic Versions 4.00 or earlier.



STATUS
Microsoft has confirmed this to be a bug in Microsoft QuickBasic Versions 4.00b and 4.50, and in the Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS OS/2 (buglist6.00, buglist6.00b). We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: QuickBas BasicCom buglist4.00b buglist4.50 B_BasicCom

Keywords: KB33707

-

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

© Microsoft Corporation. All rights reserved.