I may have to eat a little crow on this one. The problem with FrmGotoForm
seems to have been MY bug. Nevertheless, I think maybe the shutdown routine
should be bulletproof.
Michael Needlman <[EMAIL PROTECTED]> wrote in message
news:6194@palm-dev-forum...
>
> I had a program which was using FrmGotoForm to reload the same form
> repeatedly. (Why is not important here.) For example,
>
> FrmGotoForm(formA);
> ... (no other form loaded in the interim)
> FrmGotoForm(formA);
> ... (no other form loaded in the interim)
> FrmGotoForm(formA);
> ...
> etc.
>
> Everything worked fine in the internal running of the program.
Furthermore,
> with only a single instance of this, no problem. But if I repeated this 2
or
> more times, and left my app by clicking on the silk-screened menu button,
I
> got the following error from POSE after all my code had completed:
>
> "UIAppShell" (unknown version) reports "MemoryMgrNew.c, Line:4183, Invalid
> chunk ptr". If this is the latest version of "UIAppShell", please report
> this to the application author.
>
> Apparently, FrmGotoForm, when run like this, does some minor damage to
> memory. Also, the SDK shutdown routine needs some work so that it can't
blow
> up.
>
> Ps. I changed my app so that it doesn't do such loads, so my problem is
> solved. This is just a heads-up.
>
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html