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 cannot use globel veriable in the sun -program B?

here is my code,
 err = DmGetNextDatabaseByTypeCreator (true, &searchInfo, 'appl','clee',
true, &cardNo, &dbID);

  cmdPBP=MemPtrNew(100);
   SysAppLaunch( cardNo, dbID,
        sysAppLaunchFlagNewStack |
        sysAppLaunchFlagNewGlobals ,
     sysAppLaunchCmdNormalLaunch,
     0, &appLaunchResult );


Eric



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to