on 10/22/02 7:59 AM, John Marshall at [EMAIL PROTECTED] wrote:

> On Tue, Oct 22, 2002 at 12:33:26AM -0700, Michel.P wrote:
>> --- JB Parrett <[EMAIL PROTECTED]> wrote:
>>> If you are using CodeWarrior, open the debug console (Palm -> Open
>>> Debug Console) and type 'dir 0 -tc' to see all databases and their
>>> type and creator codes. (Type 'help dir' for online help).
>> 
>> I'm using Cygwin/PRC-tools for my development, so I can't check it
>> that way. Guess I'll manually have go through all the DBs.... :-(
> 
> What JB is suggesting is to list all the databases on the device.
> Or you could write your own just to look for 'MP01' in about as much
> time as it took me to compose this email :-).

Yep - take a look at DmGetNextDatabaseByTypeCreator to find your conflicting
DB and DmDatabaseInfo to identify it. Good code exercise, too.

[As always, good catch with the Perl recommendation, John. Thanks for
keeping us honest. :-)]

JB @ PalmSource



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to