Hi Gavin

You probably refer to DmFindDatabase, that
doesn't require creator ID.

Do you really want me to be honest ?
I think is just a Palm design fault, you should
require creator ID for this command, otherwise
it is illogical, given that I can't see a way
to get to the next one, if there are any.

BTW, is it possible to have two data bases
with same name, but different CRIDs ?

Rergards,
Michael





-----Original Message-----
From: Gavin Maxwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, 30 November 2001 1:54 PM
To: Palm Developer Forum
Subject: RE: Creator ID and stuff


But without the addition of a CRID the name of a db is not guaranteed to be
unique. You can end up with one database overwriting an existing one. Or an
app trying to create a db, and finding that it already exists - then it
tries to read/write from it only to die horribly when the structure is not
what's expected. Using the CRID as part of the name obviously avoids this
problem.

Not many developers do this though (myself included sometimes!) - but it
becomes an issue moving forward to devices with more storage, therefore more
apps, and more chance of collisions in the name space.

Gavin.

-----Original Message-----
From: Michael Glickman [mailto:[EMAIL PROTECTED]]
Sent: Friday, 30 November 2001 1:34 PM
To: Palm Developer Forum
Subject: RE: Creator ID and stuff


For me having CRID as a part of DB
name doesn't make sense at all

Remeber last Joe's question regarding add-ins ?
I can have add-ins for my app, and filter
them out by type+creator - this is really cool,
dupplication or CRID is just waste of space,
given that CRID is stored anyway.

Michael


-----Original Message-----
From: Bradly J. Barton [mailto:[EMAIL PROTECTED]]
Sent: Friday, 30 November 2001 1:22 PM
To: Palm Developer Forum
Subject: Re: Creator ID and stuff


I prefer prepending... CRID-DatabaseName  .. if an application has more than
one, it makes them easier to locate in the backup directory on the
desktop... of course, having said that, I can admit that I haven't always
followed my own advice. :)

----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://HandAble.com

----- Original Message -----
From: "Gavin Maxwell" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 7:44 PM
Subject: RE: Creator ID and stuff


> You should use a unique CRID for *every* application you write. The CRID
is
> used to associate databases to applications. If you have databases from "a
> different" application, but have the same CRID then things can get messy
> very quickly. Especially when deleting applications etc...
>
> Also to ensure uniqueness of database names you should append (or prepend)
> the CRID to the database name. Eg "MyDbName-CRID". This has been hashed
over
> on multiple occasions previously. A search of the archives will reveal
> much...
>
>
> Gavin.
>
> -----Original Message-----
> From: DavidK [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 30 November 2001 12:36 PM
> To: Palm Developer Forum
> Subject: Creator ID and stuff
>
>
> Greetings,
>
> I have reserved a creator ID for my application. What other parts are
there
> to customize.
>
> I mean do I use the same creator ID for all apps where some other
identifier
> is unique.
>
> What should I be aware of?
>
> Thanks in advance,
>
> Dave
>
>
>
> --
> 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/


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

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