There are three different "names" for a prc.

1 - Its filename on the pc/mac/whatever.  This is irrelevant except that
the extension (or Mac file type) needs to be something reasonable so that
the desktop software knows what it is.

2 - The name in the launcher.  Only used for visual purposes.  Contained in
the 'tAIN' resource in the prc.

3 - The name of the database.  This is contained within the prc's header,
in the first 31 bytes.

(PDBs can have a #4 since they don't have a #2; this #4 is the name to show
in the launcher and can be in the appInfo block, for launchable databases.
But that's not relevant in your case.)


I bet #3 is what is causing your confusion.  Unless you specify a name for
the database, the build system will assign it automatically for you.  I
forget exactly how it does this; it probably differs for the various
compilers that exist.  But in any case, you can set it yourself in the
"Database name" field of the PalmRez Post Linker in CodeWarrior... I don't
know the gcc tools enough to say how they do it.

The database name is the thing that uniquely identifies something on a Palm
Computing platform device.  So if you install a prc whose database name is
the same as an existing one, the new prc replaces the old, which is
deleted.  And conversely, if two prcs are identical except for their
database name, you can have both installed and using space, and you can see
and use both. (But that's an unusual situation.)

The Launcher's "delete" dialog will combine all databases that share a
single creator id together, which is why you're seeing double the space
being taken.  That's intentional; the standard mechanism is that one
creator id is used for an application and its data, and that's it.  If you
want two apps to exist at the same time, from the user's point of view,
then they need to have different creator IDs.

All this to say that you probably want your database names (and creator
ids) to be the same for the different translations of your prc.  Tweak the
IDE's settings so that it creates the right database name.

-David Fedor
Palm Developer Support


  • Ho... Christian Vandendorpe
    • ... Michael Yam
    • ... Christian Vandendorpe
    • ... David Fedor
    • ... Созин Борис
    • ... Scott Maxwell
    • ... Scott Maxwell
    • ... David Fedor
    • ... Richard Hartman

Reply via email to