On Mon, 18 Apr 2005, Dr. Vesselin Bontchev wrote:
I think that you need to use the VFS Manager to access the contents of the memory card. The Dm* stuff works only with the databases in the local memory. The card doesn't contain databases - it contains files. You'll need to use one of the VFS conversion functions - VFSImportDatabaseFromFile, VFSImportDatabaseFromFileCustom, VFSFileDBInfo, VFSFileDBGetResource, VFSFileDBGetRecord, etc.
Disclaimer - I've never done this myself.
For having never done it, you pretty much hit the nail on the head :-)
To see what databases are on a memory card, you'll have to use the functions to enumerate volumes (aka cards) and files in directories, and (of course) filter by file extension.
-- ----------------------------------------------------------------------- Brian Smith // avalon73 at caerleon dot us // http://www.caerleon.us/ Software Developer // Gamer // Webmaster // System Administrator Never be afraid to try something new. Remember... amateurs built the ark, professionals built the Titanic.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
