>Subject: RE: Stack Size
>From: Heather Tufts <[EMAIL PROTECTED]>
>Date: Thu, 2 Nov 2000 10:22:06 -0600
>> How does one increase the stack size of a plam app with CodeWarrior?
>I'm sure someone will correct me if I'm wrong, but I thought the app stack
>size was determined by the OS version, and wasn't app-specific. In that
>case, you can't change it unless you move to a different device.
>-hkmlt
There is way to set stack size for a program. See the KB.
The problem is that it is inflexible. v3.5 of Palm OS provides a
reasonable amount of stack & heap space, but earlier versions don't.
If you increase the stack space using the trick from the KB, you
freeze it and then lose the enhanced stack and heap space in v3.5
and your program can run out of heap memory on a color device.
To me the question more correctly is, how can one increase stack
space on pre-3.5 systems, while using the system defaults on 3.5
(and later) systems without having multiple versions of a program.
Or perhaps I'm just missing some nuance of setting stack space....
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/