"S�bastien Pineau" <[EMAIL PROTECTED]> a �crit dans le message de news: [EMAIL PROTECTED] > Hi, > > I agree with Prabakar MP, but it would be wiser to use the EventType > structure instead of an unallocated pointer. > > EventType event; > > MemSet(&event, sizeof(event), 0); > event.eType = appStopEvent; > EvtAddEventQueue(&event); > >
I will quote Henk Jonas: <quote> Which is the very, very wrong way to stop an application. On Palm OS, you can't just stop an application, you have to provide the OS a new application, and the OS will then stop for you the current one. Please read the Palm OS Companion about it (Exit to Launcher, enqueue the AppHome key) before posting wrong infos. Regards Henk -- ------------------------------------------------------------------------- Henk Jonas Palm OS � certified developer [EMAIL PROTECTED] www.metaviewsoft.de ------------------------------------------------------------------------- <end quote> -- Regis St-Gelais www.laubrass.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
