At 5:18 PM -0800 12/17/01, Renaud Amar wrote: >I'd like to know if there is a another way to extend the stack >than having to specify the stack size option in the resources of a >CodeWarrior application. > >What I would like to do is to extend the stac, not only within >my application, but for the whole system (does that make sense ?). >I'm actually developing a patch (that I'm locking in memory) >and it needs to have a stack bigger than 4096 bytes. > >I have a sort of "launcher app" which is a regular form application, >that loads and locks my patch in memory. So if I use the CodeWarrior >resource option to extend the stack, it will work for my patch only within >my "launcher app"... and it will overflow the stack as soon as I leave >my app. > >any idea ?
What you might want to do is allocate your own private stack. Then, when your patch is called, switch from the current stack to your own. I think that will achieve the effect you want. -- Keith -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
