>    case appStopEvent:
>         StopApplication();   // does necessary cleanup of memory
>    break;

Do this:
EventType evt;

        evt.eType = appStopEvent;
        EvtAddEventToQueue( &evt );

-Rus

-- 
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