>I hear what you're saying and I'll modify my code to search on
>something else.  But the OS shouldn't crash simply upon trying to
>look up an non-existent dbid.

A dbid is really nothing but a pointer, obfuscated a bit.  So you can't
expect it to stay valid if you delete the database, any more then you can
expect a pointer to work when you free its memory.

That's separate from the theoretical question of whether a dbID "should" be
a permanent reference.  Perhaps, but wishin' don't make it so.

In existing OS versions, the name of the database is the one and only
unique and permanent identifier.  (Well, ignoring that you can rename it,
but for this conversation's purpose anyway.)

-David Fedor
Palm, Inc.

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