From: "Nesse, Rustin" <[EMAIL PROTECTED]>
Subject: RE: Application doesn't shut down very gracefull.


> This works nicely for me...
> evt.eType = appStopEvent;
> EvtAddEventToQueue( &evt );

If you are going to post an event, it is a good idea to clear the fields you
aren't setting.  For example,

MemSet( &evt, sizeof( EventType ), 0 );
evt.eType = appStopEvent;
EvtAddEventToQueue( &evt );



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