At 4:47 PM -0800 3/04/1999, [EMAIL PROTECTED] wrote:
>I need to add a strong recommendation to not use DmFindDatabase in this
>case.  Apps should definitely be referenced by type and creator, so if the
>app's name changes, then the code still works.  <snip>

What if there are several databases with the specified type and creator? I suppose you 
could give an error in this case or choose the most recent revision. 
(DmOpenDatabaseByTypeCreator does the latter.)

At 5:01 PM -0800 3/04/1999, [EMAIL PROTECTED] wrote:
>How's "DmFindDatabaseByTypeCreatorName" better than
>"DmGetNextDatabaseByTypeCreator"?  A type and creator should uniquely
>identify a database; what does adding a name parameter get you?

Every database must have a unique name. There can be several databases with the same 
type and creator. There's no point adding a DmFindDatabaseByTypeCreatorName routine to 
PalmOS since once you've specified the name, there's no need to specify anything else.
-
Danny Epstein     *     mailto:[EMAIL PROTECTED]
Applied Thought Corporation     *     http://www.appliedthought.com
Flytrap for PalmOS     *     http://www.appliedthought.com/flytrap

Reply via email to