At 9:45 AM -0700 1999/04/24, Joseph J. Strout wrote:
>I'm building my board list with DmGetNextDatabaseByTypeCreator. This
>function requires a cardNo parameter.
Actually, no, it returns the card number on which the database is found. You need that
info for other DmXXX calls. DmGetNextDatabaseByTypeCreator searches all cards... or
rather will, someday, if we ever build a device with more than one card... ;o)
My guess is you're running into the onlyLatestVers bug fix. David Fedor sums up the
difference in behaviour rather nicely:
"In 3.0 and earlier, setting this flag while providing both
a type and creator id could return you multiple databases
(if there were in fact multiple with that type/creator
combination). In 3.1, you'll only get one database which
has the given type and creator... it'll be the database
with the highest version number which matches the criteria."
Does this sound like the problem?
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering