Chi-Yi Lin <[EMAIL PROTECTED]> skrev i
diskussionsgruppsmeddelandet:[EMAIL PROTECTED]
>
> Hello,
>
> In Palm OS Reference, it says that "SysAppLaunch" is used to launch
> a specified app as a subroutine of the caller. The question is that, does
> the "subroutine" app allocate a new stack of itself? Or does it use the
> same stack of the caller app?

If you use sysAppLaunchFlagNewStack as launch flag in SysAppLaunch,
the launched application will get its own stack.

>
> The other question is, how do I handle this kind of project in CW?
> Do I have to create two projects, one for the caller, the other for the
> "subroutine app"?

Yes.

Also for debugging, do I have to install the "sub-
> routine app" in the emulator first, and then run the caller app?

Yes.

>
> I'm sorry I really have no idea about doing this. Could somebody
> help me for my stupid questions? :-)
>
> Thanks a lot.
>
> Chiyi Lin
>
>
>
>

Hope it helps!

/Bulent Gecer



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