are you sure you launch application and not one of its databases?
i would reccomend using DmFindDatabaseByTypeCreator and look for type='appl' and
creaor of what you need

Durgesh Trivedi wrote:
> when i m using the SysUIAppSwitch it is giving the error message application 
> database not launch .why i dont understand 
> 
> here is my code
> 
> static void TAppLaunch(void)
> {
>  
>    Err err;
>    LocalID dbID;
> 
>               
>           dbID = DmFindDatabase (0,toDoDBName);
>        if(dbID)
>         {      
>           err=SysUIAppSwitch (0, dbID, sysAppLaunchCmdNormalLaunch, NULL); 
>           if(err)
>                {
>                   FrmAlert(ListOkAlert);                      
>                }      
>          }
>         else  FrmAlert(ListEmptyAlert);
> }
> 
> the function will call on the click  event of a button.
> 
> please help me
> 

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

Reply via email to