"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:69105@palm-dev-forum... > > "Michael Glickman" <[EMAIL PROTECTED]> wrote in message > news:69101@palm-dev-forum... > > > > It works for me, with a small observation: > > I use card 0 for the data base. > > > > While HostFS is operational, try creating > > a data base on card 1, and you will > > receive an error. However you can create and > > read data bases from card 0, even if your > > app was launched from HostFS folder. > > This is the way I have it. > > > > Looks like HostFS folder is not an extra card > > for PalmOS. It is a kind of fantom that exists > > for specially built 'full' ROMS and POSE, but > > not for real Palm. I wonder if you can create > > data bases on HostFS folder. > > Even on a real Palm OS device with a SD card slot, you can't create a > database on card 1. The card field there refers to something completely > different than the external storage cards. It is referring to internal > memory cards. The only way to create a database on a HostFS "card" or a > SD card is to use calls in the VFS subsystem -- they aren't true Palm > databases then, but there are some routines to do DB-like access to > them.
Thanks to both of you for your answers but I guess my question wasn't clear enough. According to the docs when the user runs an app from the memory card, it will copy both the prc and any pdb's that have the same creator ID and have the bundle bit set, to card 0 and run the app. When the app is complete any db's copied will be deleted from card 0. The problem that I'm seeing is that the OS copies and runs the app but it doesn't copy the data - at least not in POSE (I haven't tested on real hardware). Am I reading the docs incorrectly and this isn't what the OS is supposed to do or maybe POSE doesn't support this feature of the OS? Am I missing something? Has anybody gotten this to work? Thanks, Mark Ginsberg DependTech,LLC -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
