There are at least 3 ways to terminate the execution of an application in
the emulator.
1.) Reset  2.) Kill it  3.) Call the Menu

I have the following  code
DWord PilotMain( etc, etc, etc)
{
 Preliminarys

EventLoop()
StopApp()
}

void StopApp(void)
{
frmCloseAllForms();
DmCloseDatabase(DatabaseHandle);
}

When I terminate the application using eighter of the methods above
StopApp() is not called. I beleive this leads to memory leaks and other
errors.

How can I fix this?




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

Reply via email to