Franco,

Thanks for your help.  That is exactly what I needed to know and it appears
to work.

Your message was slightly confusing however, because your example of "MULT"
= 4D 55 4C 54 = 1634758764 decimal was wrong.

"MULT" = 4D 55 4C 54 = 1297435732 decimal
 Your example 1634758764 = "appl" which is, of course, the Output File
Type - but I managed to work out what you meant!

Thanks again.

Charlie


-----Original Message-----
From: Franco de Lorenzo <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: 14 November 2000 15:42
Subject: Re: How do I get "creatorID"


>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/


-- 
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