The other option is to allocate a memory from a heap and set A7 register. Be sure to restore everything on exit and keep in mind forthcoming problems with PalmOS 5+
-- Konstantin http://klyatskin.da.ru "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:83731@palm-dev-forum... > > In article <83725@palm-dev-forum>, [EMAIL PROTECTED] says... > > > > 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! > > You can change the default stack size if you're using a recent version > of Constructor for Palm OS. Make sure you have at least Constructor > version 1.6. At the bottom of the resource list window, there are > resources that are set for your whole application. Click on the > checkbox for "Generate pref resource", then fill in a larger number for > pref-stack size. It defaults to 4096, a 4K-large stack. > > Note: this won't help if you app has to run inside the stack space of > applications. > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Get help at http://palmoswerks.com/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
