It looks to me like I've run into a limit that doesn't jive with my research.
I have a single heap object declared as follows:
struct PC *
getMe (void)
{
static struct PC me;
return &me;
}
but when 'struct PC' gets bigger than 4096 bytes, I get a window entitled
"Fatal Alert" that says "Fatal Exception" with a single button labelled
"Reset". I get this alert when I'm initializing the structure.
It's my belief that 'me' is in the heap because it's declared 'static'. The
SDK documentation and the palmos website seems to say that heap objects were
limited to 64K, not 4K like the stack. I'm doing this on a Palm IIIc running
OS 3.5.
Can someone point me to a document that explains why I'm running into this
limit?
Thanks!
--
Wade Guthrie |
[EMAIL PROTECTED] |
http://members.home.net/guthrie1/ |
|
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/