At 11:44 2003-2-4 -0700, you wrote:
The database must have been created with FileCreate. The file streaming APIs only work on their own databases, not any others.hi,can I use FileOpen() to open any db in ram? or does the db have the Stream type? I've tried this inf = FileOpen(0, "MemoDB", 'DATA', 'memo', fileModeReadOnly, NULL); and got an error. couldn't open it.
If you want to treat a database as a stream of data, look at the ExgDbRead and ExgDbWrite functions. These convert between internal databases and their serialized forms.
--
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/
