>Just to clarify my understanding, if I were to create version 1.1 of an
>application, I generally still want to use the creator ID found in version
>1.0. Right?
Right, in general.
>But, if I want both Version 1.0 and 1.1 to exist together on a Palm Device
>(for testing and comparison for example), I need to assign a new creator ID
>for version 1.1.
Yup. Also you'll need a different name for the prc database itself.
>But if I do that, version 1.1 can no longer open the associated database
>using DmOpenDatabaseByTypeCreator(), right? In that case, I should just
>open the database using DmOpenDatabase()?
You're trying to open the database of the application as it is running? If
so, use SysCurAppDatabase. Or if you're trying to open your app's data
databases, I'd think you would want to open it with the "real" crid, not
the temporary one that you're using to test the new version of the app.
(If you're just reading a resource out of your running app's prc, no need
to open the database; it is already open. If you need to change a resource
in it, shame on you for writing self-modifying code, but still use
SysCurAppDatabase and then DmOpenDatabase to insulate yourself from relying
on the crid or name of the app database.)
-David Fedor
Palm Developer Support