Since you know your creatorID all you will need to pass to this function is
the creatorID.
Example:   CallApp('crID');


"Charlie Grant" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I am developing applications on a Symbol SPT1700 using Palm OS 3.2.
>
> I am trying to run one of my applications from the other one using the
code
> below.  I need to know how to obtain the creatorID of my application that
I
> am trying to call, so that I can pass it into this function:
>
> static void CallApp(UInt32 creatorID) {
> LocalID dbID;
> UInt16 cardNo;
> DmSearchStateType Search;
> Err err = 0;
>
>      err = DmGetNextDatabaseByTypeCreator(true, &Search, 0,
>              creatorID, true, &cardNo, &dbID);
>      if (!err) {
>           err = SysUIAppSwitch (cardNo, dbID,
>                    sysAppLaunchCmdNormalLaunch, (VoidPtr)NULL);
>      }
> }
>
>
> Any ideas, please?
>
>
>





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

Reply via email to