At 06:46 PM 10/24/2005, you wrote:
Ben Combee wrote:
The m125 will have a smaller stack, so deeply nested code that uses a lot
of stack space might not run on it, but it would run on the Tungsten
E. The T|E also has a bit more dynamic heap for MemPtrNew allocations.
Hmm, I thought the size of the stack was simply determined by the 'pref'
resource in the app's PRC, so that it should be the same on any model
as long as the system is able to successfully launch the app. Or is it
more complicated than that?
Different versions of Palm OS will actually reserve more stack space than
what you request -- this extra buffer was put into the OS around version
4.0 because of NetLib and Bluetooth changes where more stack might be
needed by a system dialog, and OS 5 reserved even more. The number you
provide is a minimum, not the exact amout of stack you get.
-- Ben Combee, Senior Software Engineer, Palm, Inc.
"Combee on Palm OS" weblog: http://palmos.combee.net/
Developer Forum Archives: http://news.palmos.com/read/all_forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/