I've been getting errors in an application, invoked via SysUIAppSwitch(),
when it frees the cmdPBP passed by the caller.  The caller calls
MemPtrSetOwner(ptr, 0); before calling SysUIAppSwitch() or during its
AppStop() handling (or both). It appears that if a value is passed as
cmdPBP, it must be a pointer and it should not be freed by the receiving
application.  Either of these cases results in the system failing (during
the switch if the value is a MemHandle rather than MemPtr, for example, and
after the called application exits, in the second case).

Can someone substantiate my assumptions?
-- 
Bill...
mailto:[EMAIL PROTECTED] ringto:+1.310.748.6357 faxto:+1.206.202.0429



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to