DmFindDatabase doesn't interact in any way with the virtual file
system extension used for SD/MMC card slots.
There's only one internal memory card inside a PalmOS handheld. Card
0. The API provides for the possibility of more cards someday, but its
never been necessary. This card number parameter has nothing to do
with external expansion cards - its for internal banks of RAM.
You'll need to use the VFS api functions to location your files, and
it works much like any other filesystem you may have used (Windows,
Unix, etc...)
On Tue, 25 Jan 2005 17:43:13 -0300, Thiago Kenji Souto <[EMAIL PROTECTED]>
wrote:
> I don't thik so, because I've seen applications that find its own db
> in the mmc without having to ask the user.
>
> I'm using DmFindDatabase to find database ID, saying cardNO = 1, but
> it always return 0 for me, even when I know that I stored the
> application in the mmc.
> What am I doing wrong?
>
> if (DmFindDatabase (1,"my_app"))
> ErrDisplay ("Never show this line");
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/