Using EXEHDR or EXEMOD to Change the Stack Size of .EXELast reviewed: July 17, 1997Article ID: Q25321 |
1.00 2.01 3.00 3.10 3.20 | 1.00 2.01 3.00
MS-DOS | OS/2kbtool The information in this article applies to:
The EXEHDR and EXEMOD utilities can be used to change the stack size of a program. EXEMOD is an older utility that runs only under MS-DOS. To view the current size of the stack, no options are used. Both EXEHDR and EXEMOD will produce a table of information with a line such as the following:
Initial stack location: 0000:0800The offset portion of this line gives the current stack size in hexadecimal notation. In this example, the stack size is set at 2K. If you wanted to change it to 4K, you could use the /STACK option of EXEHDR or EXEMOD in the following way:
EXEHDR /STACK:0x1000 file -or- EXEMOD file /STACK 1000 Additonal reference words: 1.00 3.00 3.10 3.20 |
KBCategory: kbtool
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |