It doesn't have enough information. It would be better if you can show how you
declare the struct, and how it "gets bigger than 4096B", and the codes that
working on the struct.
When you suspect that only the size cause the problem, it might not be true...
If you do the debuging in POSE, adition information is usually provided with
the crash.
Max
--- Wade Guthrie <[EMAIL PROTECTED]> wrote:
> 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/
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/