|
Hi,
I'm trying to write an application that needs to launch other applications onto specific records. I figured I could do this, by using the sysAppLaunchCmdGoto, just like find does. The code I present in the end of the message actually does what I want it to - launch the app on the record index 0, but the application crashes upon exit, illegaly trying to free a memory chunk. Inbetween the called app behaves normally. Could it be that the command parameter block is being freed twice? Once at my app exiting cleanup, and again at the called app exiting cleanup. If true, how do I avoid memory cleanup by PalmOS? -- PilotMain code for normal launch follows
// Gather data to call the Addressbook at record zero
// Call Addressbook
return 0; --
Loving oneself is the beggining of a lifelong romance -
|
- Re: Using sysAppLaunchCmdGoto launch code Sergio Carvalho
- Re: Using sysAppLaunchCmdGoto launch code Sergio Carvalho
