At 00:10 2002-12-3 +0000, you wrote:
Question is, how do I load this into my program ?  resource ? library file ?
etc, and then how do I reference it later when I come to write my 'fake'
fileopen()/close() routines. I can't believe this is the first time someone
wanted to do this - is there a definitive work ?

I'm a programmer of sensible talent so complex answers are ok, but please
bear in mind that I'm a bit of a newbie when it comes to both PalmOS AND
CodeWarrior.
Look at the File Stream APIs. They let you deal with specially formatted databases as if they were files. The tool "par" can be used to make file stream PDB files that can then be sync'd to the handheld. File stream DBs are used in the OS to handle things like serialization for beaming, and normally are just temporary DBs, but they can also be long lived.

You won't have a hierarchical file system with these -- the DB name space is flat -- but you can get around this by clever naming conventions.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to