On Mon, 5 Jun 2000, Ralph Krausse wrote:
> Is there an API to check to see if a creator is already in use on the PP
> unit?
> 
> Thanks
> Ralph Krausse

I don't know if this is a repost or not.. I have this exact message here
from a few days ago, except there's also a thread of answers to go with
it.

You should be able to come up with a reasonable check by using
DmGetNextDatabaseByTypeCreator(), and passing in some wildcards for the
appropriate fields.  As far as I know, there is no API specifically for
this function.

However, I think the real issue here is not *how* to do it, but *why*.
You should not be creating Creator IDs on the fly.  EVERY creator ID you
use should be registered with Palm Inc.  This ensures that there are no
name conflicts.

I'd be interested to know if you've found an application that would
require doing something like this.  It's hard to apply absolutes to
everything, but this seems to be one of those cases where the absolute
absolutely applies.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com


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