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 program A, but when press once more, it quit program A > > and go to Launcher. can anyone tell me what's the problem? > > Assuming program B is yours too, try using AppCallWithCommand() > instead of SysAppLaunch(). AppCallWithCommand() allows one program > (A) to start another program (B) with a custom launch code. When > program B quits (returns), control is returned to program A. You > define the launch code (any integer > 32767) and a parameter block > which can be used to exchange data between the applications. > > For example, say program A (caller) has a form in which you enter two > integers. After pressing a button, it then calls program B (callee) > to add the two integers, which in turn returns the result to A. You > could do this with the following: > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
