From:
http://www.codewarriorU.com
Sign in (free) Palm OS Programming with CodeWarrior
Lesson 3: A First Program

The Creator ID

Remember, since there is no file system on the Palm, everything is stored as
a database, including applications. To uniquely identify a database the
system uses two things: a type and a Creator ID. Both are four-character
names. All applications use the same type, "appl", but the Creator ID is a
value you assign.
To change the Creator ID of the application, open the project settings
dialog and select PalmRez Post Linker in the left-hand pane, as shown in
Figure 3-12. On the right you'll see a Creator text field with value STRT .
You need to replace STRT with your own Creator ID. As an example, change
STRT to sTRT .
Changing the Creator ID is very important for two reasons. First, their
Creator IDs uniquely identify applications, and installing an application
with a duplicate Creator ID will overwrite the existing application with the
same Creator ID. Second, any databases that the application creates share
the application's Creator ID and are automatically deleted by the system
when the application itself is deleted.
How do you obtain a Creator ID?  For development purposes, it doesn't really
matter what Creator ID you use as long as you use at least one uppercase
letter in the Creator ID. Creator IDs consisting of four lowercase letters
are reserved for use by Palm, Inc. -- and the Creator ID doesn't conflict
with any existing Creator IDs. But when you want to distribute your
application, you are asked to register your Creator ID with Palm in order to
avoid conflicts with other applications. You can browse and add to the
Creator ID registry at (***http://www.palmos.com/dev/tech/palmos/creatorid).
Whenever possible, choose a Creator ID that somehow reflects either the name
of your application or the name of your organization.

-----Original Message-----
From: Avilla, Dane [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 1:39 PM
To: Palm Developer Forum
Subject: RE: Startupcode.lib with Creator ????


Actually, nothing will happen.  If you look at the "Target Settings" pane in
the settings for the StartupCode.lib project, you will see that post linker
is set to "none".  The IDE won't ever run the PalmOS PostLinker, so none of
the settings on that screen, including the Type, will have any impact.

Cheers,

-DGA

> I was looking at the startupcode.lib example, under 
> Metrowerks and noticed
> that in the project settings under Linker\PalmRez Post Linker 
> the Creator
> and Type was set to ????. Can anyone explain what this does? 
> What would
> happen if I used the creator ID from a particular application 
> instead of the
> '????' ?
> 

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