/F - Set Stack Size (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This option sets the program stack size to number bytes.

/F number

The number argument is a hexadecimal number that can range from a lower limit of 0001 to an upper limit determined by the maximum stack size accepted by your linker. A space is required between the option and number.

Syntax for this switch does not allow decimal and octal numbers. If you do not specify this option, the default stack size is 1 MB.

You may want to increase the stack size if your program gets stack-overflow diagnostic messages. If your program uses little stack space, you may want to decrease the size of your program by reducing the stack size.

See Also

Compiler Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.