Microsoft KB Archive/129741

= PRB: Call List Takes Longer to Display =

Article ID: 129741

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q129741



SYMPTOMS
It takes a long time to display the Call List after running out of stack space with 32-bit Visual Basic version 4.0 in comparison to the time it takes in the 16-bit version 4.0 and 3.0.



CAUSE
The call stack in the 32-bit version 1 megabyte, which is approximately 30 times the size of the 16-Bit versions.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 Start a new project in 32-Bit Visual Basic version 4.0.  Add a Basic Module to the Project, and enter this code: Sub Main Main End Sub  Change the default start up module by choosing Options... from the Tools menu. Select the project property sheet, and change the start-up module to Sub Main Start the program by choosing Start from the Run menu or by pressing the F5 key. Select the debug window when the "Out of Stack Space" error occurs. Press CTRL+L to bring up the calls list. After a few moments, a list with a large number of procedure calls should appear.</li></ol>

Keywords: kbprb KB129741

-

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

© Microsoft Corporation. All rights reserved.