Hi,
Could anybody help me and say how can I CALL (not switch to) an
application from my code with a command CmdNormalLaunch? I need to make
a call and then again have control of Palm running.
I used few ways varying with launch flags. Best result (no error and
sucessful launch) was only by code below.
-------------------------
local dbID.l
local flag.w
local cmd.w
local result.l
move.l correct_value_for_appl, dbID(a6)
move.w (sysAppLaunchFlagNewStack+sysAppLaunchFlagNewGlobals),flag(a6)
move.w sysAppLaunchCmdNormalLaunch,cmd(a6)
systrap
SysAppLaunch(#0.w,dbID.l,flag(a6).w,cmd(a6).w,#0.l,&result(a6).l)
....here I am again
------------------------------
PROBLEM:
A new memory owner is set for every launching. So after 14 launches
I get not-fatal error for limited number of memory owners.
Certainly first thing to do is to remove NewGlobals to be the same mem
owner. But then the launch fails.
Can I return to previous memory owner after a launch, or should I make a
launch in another way?
Regards,
Constantine
http://klyatskin.da.ru
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
How to CALL (not switch) one application from another?
Valery or Constantine Klyatskin Thu, 4 Mar 1999 07:32:46 -0500
- Re: How to CALL (not switch) one applicati... Valery or Constantine Klyatskin
- Re: How to CALL (not switch) one appl... Steve Patt
- Re: How to CALL (not switch) one appl... Christopher Hunt
