Hi,

I am launching another application from my application passing
a parameter.

Ex:
handle = MemHandleNew( 10 );
temp = ( CharPtr )MemHandleLock( handle );
MemHandleSetOwner( handle,0 );

err = SysUIAppSwitch( cardNo,dbID, sysAppLaunchCmdFromToDoLaunch,(Ptr)temp 
);


Does the PalmOS will take care of freeing the memory after i set
the handle as owner 0?

Do i have to free the parameter in the launched application?

Any help on this will be greatly appreciated.

Thanks,
chi


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to