Hi

My Code is as follows:

   error = DmGetNextDatabaseByTypeCreator(true,&SearchType,'appl',
MY_CREATOR,false,&cardNo,&dbID);
    if(!error)
//            SysUIAppSwitch (0,dbID,sysAppLaunchCmdNormalLaunch,NULL);
   SysAppLaunch( cardNo, dbID, 0, sysAppLaunchCmdNormalLaunch, NULL,
&resultP );
    else
            ErrAlert(error);
/*

where MY_CREATOR contains the creadtor id

Marianne

----- Original Message -----
From: "Marianne" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 7:09 PM
Subject: Re: SysAppLaunch


>
> Hi
> Thanks for the help...
> It worked fine, but the moment I used SysAppLaunch insted of
SysUIAppSwitch
> Palm crashes saying Bus Error, and I have to reset it..
>
> Can you help me with this..
>
> Marianne
>
>
> ----- Original Message -----
> From: "Duc Dang" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Thursday, November 13, 2003 4:24 PM
> Subject: Re: SysAppLaunch
>
>
> > Hi,
> > you can use that :
> > case OptionsContact:
> > localID = DmFindDatabase (0, ConAppDbName);
> > if (localID) SysUIAppSwitch(cardNo, localID,
> sysAppLaunchCmd_CallContactApp, NULL);
> > handled = true;
> > break;
> > with
> > UInt16 cardNo=0;
> > LocalID localID;
> >
> > And :
> > #define ConAppDbName ("ConAppDB")
> > with
> > ConAppDB is database name of application that you set on Settings
> >
> > Hope helping you.
> > Duc
> > *********** REPLY SEPARATOR  ***********
> >
> > On 11/13/2003 at 3:59 PM Marianne wrote:
> >
> > >Hello All,
> > >
> > >I want to launch another application from my application and when done
> with
> > >that application return back. I have used SysAppLaunch for this, but
from
> > >where will I get  the CardNo and DBId for the same, I know the
appCreator
> > >ID..
> > >
> > >I tried using DmGetNextDatabaseByTypeCreator but it did not help me..
> > >
> > >Can anyone help me out..
> > >
> > >Thanks in Advance
> > >
> > >Marianne
> > >
> > >
> > >--
> > >For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> >
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to