Normally, you don't need to manually clean up the form.  But if you do, you
should return true so the OS doesn't repeat what you just did.  I suspect
that you are deleting one form, and since you return false, the OS is
deleting the next form which is the form it should be returning to.  So,
when it returns, it can't find the navigation resource (nor can it generate
one) for the form because the form no longer exists.

Nancy Zayed wrote:

> 
> Hi,
> 
> When I quit/switch out of my app, it causes the Treo 600 GSM ATT simulator
> to crash with this message: "HsNav.c: Unable to retrieve nav info for
> form".
> 
> I commented out all my app's functionality and have reduced it to just put
> a form on the screen, and that's it.
> 
> When I get frmCloseEvent message, I do the following:
> frmP = FrmGetActiveForm (  );
> FrmEraseForm ( frmP );
> FrmDeleteForm ( frmP );
>  and return false from within MainFormHandleEvent().
> 
> Suggestions?
> 
> <from an eariler thread>
> BTW, I still can't get CW to auto launch the simulator or bypass the
> stylus setup sequence despite modifying the PalmEmulators.xml file.
> 
> Thanks,
> Nancy


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to