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 Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to