I have two apps, app1 and app2.  In app1 I do

SysAppLaunch(0,DmFindDatabase(0, "app2"), 0, sysAppLaunchCmdNormalLaunch ,
NULL, NULL);

which launches app2 successfully, but when I exit app2 either by pushing the
application launcher button or by doing

if(eventP->data.ctlEnter.controlID ==
tButton){ 
        MemSet(&newEvent, sizeof(EventType), 0);
        newEvent.eType = appStopEvent;
        EvtAddEventToQueue(&newEvent);
        handled = true;

in app2, POSE complains with the following varning:

" "app1" 1.0 has just written to memory location zero (NULL)" 

Now, is this a bug in SysAppLaunch or in POSE or have I done anything wrong to 
generate this warning?

Kind regards,

/Bulent Gecer





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