I'd suggest using:
DmGetNextDatabaseByTypeCreator

Check the API docs for details, but the type would be 'appl' and the creator
would be whatever the CID of your other application is. This will get you
the dbID you need to use in SysUIAppSwitch

"Sripriya N" <[EMAIL PROTECTED]> wrote in message
news:45380@palm-dev-forum...
>
> I have 2 separate Applications.I want to  launch my second Application
from
> the first .
>
> I'am using the function
> Err SysUIAppSwitch (UInt16 cardNo, LocalID dbID,UInt16 cmd, MemPtr cmdPBP)
>
> The second parameter dbID is the ID of the new application's resource
> database.
> How will I get this dbID?




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

Reply via email to