You could try to queue an appStopEvent to exit your program. I call this 
function.

HTH, tnn

void ExitProgram()
{
   EventType event;

   MemSet(&event, sizeof(EventType), 0);
   event.data.frmLoad.formID = FrmGetActiveFormID();
   event.eType = appStopEvent;   / Get out on stop event.
   EvtAddEventToQueue (&event);
}

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

Reply via email to