The information in this article applies to:
SYMPTOMSAn attempt to run an executable file fails and the computer hangs, the program gives unexpected results, or generates the following message:
CAUSEThe application specifies a stack size of exactly 65,535 bytes. When the Microsoft LINK /STACK option specifies 65,535 bytes (or the Microsoft language compiler /F option specifies FFFFh bytes), the linker does not display a warning message and it sets the stack size to zero bytes. The error occurs because LINK rounds an odd stack size to the next larger even value in an effort to create the most efficient executable file. RESOLUTION
To request the largest possible stack size, specify 65,534 in the /STACK
linker option (or /F compiler option).
Additional query words: 3.65 3.69 4.06 4.07 4.10 5.01.20 5.01.21 5.02 5.03 5.05 5.10 5.11 5.13 5.15 5.20
Keywords : kb16bitonly |
Last Reviewed: December 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |