program call another program

2008-05-29 Thread Eric
my program A want to call another program B, and return back to A. I have tried to use sysAppLaunch, when at B, press the HOME button, cannnot return to program A, but when press once more, it quit program A and go to Launcher. can anyone tell me what's the problem? moreover, is it really canno

Re: program call another program

2008-05-29 Thread Eric
is there any other way using SysAppLaunch? I use the code like that { UInt cardNo; LocalID dbID; DmSearchStateType searchInfo; Err err; DWord appLaunchResult; Ptr cmdPBP; err = DmGetNextDatabaseByTypeCreator (true, &searchInfo, 'appl','clee', true, &cardNo, &dbID);

Re: program call another program

2008-05-29 Thread Eric
where is the api AppCallWithCommand() found? John Valdes シg、J。G > On Wed, Jul 05, 2000 at 11:54:40AM +0800, Eric wrote: > > my program A want to call another program B, and return back to A. I > > have tried to use sysAppLaunch, when at B, press the HOME button, > > cannnot return to prog

Re: program call another program

2008-05-29 Thread Eric
I use the following code to hardcode the active form, but cannot restore the state and display. Is it there any other way so that no need to hard set like this { UInt cardNo; LocalID dbID; DmSearchStateType searchInfo; Err err; DWord appLaunchResult; Ptr cmdPBP; er

Re: program call another program

2000-07-05 Thread John Valdes
On Wed, Jul 05, 2000 at 03:15:52PM +0800, Eric wrote: > where is the api AppCallWithCommand() found? Hmm, I can't seem to find a reference to this function in the current docs (and I don't remember where I first came across this). In the current (3.5) SDK, I see that this function is now imp

Re: program call another program

2000-07-05 Thread Eric
I use the following code to hardcode the active form, but cannot restore the state and display. Is it there any other way so that no need to hard set like this { UInt cardNo; LocalID dbID; DmSearchStateType searchInfo; Err err; DWord appLaunchResult; Ptr cmdPBP; er

Re: program call another program

2000-07-05 Thread Eric
is there any other way using SysAppLaunch? I use the code like that { UInt cardNo; LocalID dbID; DmSearchStateType searchInfo; Err err; DWord appLaunchResult; Ptr cmdPBP; err = DmGetNextDatabaseByTypeCreator (true, &searchInfo, 'appl','clee', true, &cardNo, &dbID);

Re: program call another program

2000-07-05 Thread Eric
where is the api AppCallWithCommand() found? John Valdes $B%7(Bg$B!"(BJ$B!#(BG > On Wed, Jul 05, 2000 at 11:54:40AM +0800, Eric wrote: > > my program A want to call another program B, and return back to A. I > > have tried to use sysAppLaunch, when at B, press the HOME button, > > c

Re: program call another program

2000-07-04 Thread John Valdes
On Wed, Jul 05, 2000 at 11:54:40AM +0800, Eric wrote: > my program A want to call another program B, and return back to A. I > have tried to use sysAppLaunch, when at B, press the HOME button, > cannnot return to program A, but when press once more, it quit program A > and go to Launcher. can

program call another program

2000-07-04 Thread Eric
my program A want to call another program B, and return back to A. I have tried to use sysAppLaunch, when at B, press the HOME button, cannnot return to program A, but when press once more, it quit program A and go to Launcher. can anyone tell me what's the problem? moreover, is it really canno