My attention is drawn to that 's28' type value.  You have specified 24 bits
of a 32 bit value.  I wonder what your particular compiler puts into the
other 8 bits.

You might try using NULL (which will match all types) and seeing what
happens.

-bob mckenzie, palmsource pdx.

-----Original Message-----
From: Mark Lenz [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 12:55 PM
To: Palm Developer Forum
Subject: RE: DmGetNextDatabaseByTypeCreator



This is a snippet of the code.  I'm not sure the problem is here.  I think
it might be with the pdb files I created as my pdb browser didn't find them
either.

DmSearchStateType searchState;
Int16 count = 0;
UInt16 cardNo;
LocalID dbID;

Err err = DmGetNextDatabaseByTypeCreator(true, &searchState, 's28', 'PCZF',
false, &cardNo, &dbID);

while (err == errNone && dbID)
{
     // Do stuff with database
     err = DmGetNextDatabaseByTypeCreator(false, &searchState, 's28',
'PCZF', false, &cardNo, &dbID);
}


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

Reply via email to