When using SysUIAppSwitch() and SysAppLaunch() you can provide a pointer to
a buffer in which you pass parameters.  It seems that you have to use
MemPtrSetOwner( ptr, 0 ) to make the pointer belong to the system, and thus
not get free'ed when the OS does its automatic garbage collection when the
app exits.  Now, what should the callee do with this memory once it is done
with it?  MemPtrFree() seems to cause big problems.

        -Bob Whiteman

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