Marc A. Lepage 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.

What are my options for finding that database (by name) no matter which card number it resides on?

I tried changing the type of the database to something unique (given my creator) and using DmOpenDatabaseByTypeCreator... however it still isn't found when my app is in RAM and the database is on the SD card. I'm pretty sure I have everything set up correctly. Should this work, or is this approach incorrect?

I'm sorry, maybe I wasn't fully clear in my original post. I am fully aware that SD cards are not the same thing as the "cards" specified in the Dm calls.


What I wasn't aware, but seems to be the case, is that the Dm calls will not find or use PDBs if they are on an SD card.

This is the case, correct?

So even if a user installs an application on SD card to save main memory space, any extra PDBs must be installed in main memory, typically?


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

Reply via email to