Hi Charlie,
the creator id is in fact a UInt32 whose 4 bytes represent the ascii code of
the 4 letters of the id, i.e. 'MULT' would generate a creatorID = 4D 55 4C
54 (or 1634758764 decimal)
since you know your id string, all you have to do is to compose it
accordingly.
Hope it helps
--
Franco de Lorenzo
Multillizer OY, R&D
http://www.multilizer.com
"Charlie Grant" <[EMAIL PROTECTED]> wrote in message
news:29998@palm-dev-forum...
>
> 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/