At 08:32 AM 2/22/2001, Mitch Fawcett wrote:
>Maybe this is a good time to get come clarification on version numbers under
>CW.
>
>There are two places I know of where version number can be set:
>1) In the PalmRez Post Linker panel in CW.
>2) In the Version String field of the Project Settings panel in Constructor.
>
>For me the value I enter in Constructor is the value that appears as the
>version on the Info screen of the launcher. Is this the same "version
>number" you were talking about setting?
The value you specify in the PalmRez post linker panel in CW is the version of the
database created. The value you specify in Constructor is the version that appears in
the Info screen of the launcher. They need not be the same. The latter is used only to
express the version to the user. The former is used internally, as follows: all
databases have version numbers. If there are more than one database with the same type
and creator, but with different names, and you search for databases with that type and
creator, you have the option of specifying onlyLatestVersion = true. If you use this
option, it will always find the one with the greater version number. If you don't use
this option, it'll return the first one it runs across. If these databases have the
same version number, specifying onlyLatestVersion = true won't help.
In general, you don't want to confuse your users by having new versions of databases
exist on a device at the same time as old ones. So, you should use the same name for
your database as you did in your last version. That way, installing the new version
will automatically replace the old one.
--
Peter Epstein
Palm Inc. Developer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/