How do I return control of the system to an application properly after a
SysAppLaunch call?
I've written two apps, APP1 and APP2.  APP1 launches APP2 and to get back to
APP1 there
is an exit-button  in APP2 with the following code associated to it:

switch (eventP->eType)
  {
    .
    .
    .
    case ctlSelectEvent:
          MemSet(&newEvent, sizeof(EventType), 0);
          newEvent.eType = appStopEvent;
          EvtAddEventToQueue(&newEvent);
          handled = true;
          break;


This works on a Palm V device, but when I try it on POSE I get an
alert saying:

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

What's wrong?  How can I get around this?

Regards,

/Bulent Gecer





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to