BUG: Visual Workbench Does Not Allow Stack Size Over 32KLast reviewed: July 31, 1997Article ID: Q112058 |
The information in this article applies to:
SYMPTOMSAttempting to set a stack size greater than 32K in the Visual Workbench (VWB) may produce a Tools Options dialog box with the message:
Numerical value is invalid, it must be in the range 0 <= number <= 32768In other instances, no warning message will be produced, but the stack size will modulus itself with 64K resulting in a stack size between 0 and 32768 bytes. With FORTRAN PowerStation 32, the following application error is generated:
Linker options: f32vwb.exe - Application Error The instruction at 0x0ff5710b referenced memory at "0x6874206". The memory could not be "read". CAUSEThe 32K stack size limitation was carried over from the 16-bit Microsoft Visual C++ product. FORTRAN PowerStation allows stack sizes much larger than 32K.
RESOLUTIONManually edit the .FMK file produced by VWB to add the -stack: option to the appropriate L32FLAGS options string. When opening the project from VWB, be sure to select the Use As An External Makefile check box. Another option is to link from the command line.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONTo demonstrate the problem, follow these two steps:
|
Additional query words: 1.00 1.00a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |