At 09:40 AM 11/3/2004, you wrote:
Hi,

Using SysUIAppSwitch :
Is the parameter block automatically freed by the system exiting the called
app ?
Because If i free it myself i have a 'Free Ptr' error on exit.

Yes. You need to first set the parameter block's owner to the system (MemPtrSetOwner) then you leave it allocated, letting the system free it when appropriate.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to