Rik,
I know lots about the application I am trying to call because I wrote it. I
know the creator of the application (in the PalmRez Post Linker settings)
but this is just a 4 character string. The variable I need to pass to my
function (to be used by the DmGetNextDatabaseByTypeCreator() function) is a
UInt32 type.
Any ideas?
-----Original Message-----
From: Richard Anderson <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: 14 November 2000 11:58
Subject: RE: How do I get "creatorID"
>Hi,
>
>You set it the app setting PostRez Linker (once youve registered it).
>You then access it by using the #define appFileCreator "blah", in that app.
>
>This is only any good if you know the creator of the app you want to call
at
>compile time, ie hardcode it.
>
>What info do you know about the app you are going to call ??
>
>Rik
>
>> -----Original Message-----
>> From: Charlie Grant [SMTP:[EMAIL PROTECTED]]
>> Sent: 14 November 2000 11:41
>> To: Palm Developer Forum
>> Subject: How do I get "creatorID"
>>
>
>> 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/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/