At 02:18 PM 8/1/2004, you wrote:
I was using DmFindDatabase to find the database by name on card 0.

This works for the databases I create at runtime on card 0. It also works for the database I install on card 0. But if that database is installed on an SD card, it isn't on card 0 therefore it isn't found.

SD card != Memory Card.

Memory cards were an early Palm OS abstraction, and the only devices to ever have a "card 1" were the Handspring Visor PDAs, where memory on the Springboard module would be accessed using a "1" parameter for the card number.

External memory support was added with Sony's original implementation of VFS, and made an official part of Palm OS in version 4. You need to use VFS calls to access any files on a SD card.


-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to