>Subject: How to increase the stack size?
>From: "Stanley Silverspeed" <[EMAIL PROTECTED]>
>Date: Tue, 2 Apr 2002 15:48:05 +0400
>
>Is it possible to increase size of the stack under PalmOS? I am using C++
>(CW6) and stack size is a problem for me. I have to not to use local data
>and avoid usage of many other nice features of C++. It is possible to write
>a very small programs only :-(((. Heeelp!
1) You can write very large programs that use small amounts
of stack. Just ensure you use the heap for temporary
storage other than integer / long variables, pointers and
small strings.
MemPtrNew() and MemPtrFree() are your best friends!
2) Using the constructor 1.6, you can easily set a larger stack size.
3) CW6 had a lot of problems. Perhaps you should upgrade to 8.
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/