Michael wrote:
and get error 0x1611 fileErrnotStream, what wrong ?

I'm looking at the sample OS source code, and it seems that this happens if you supply a database which does exist but which doesn't have its dmHdrAttrStream flag set.

I would use a utility like FileZ to check the attributes of
the database you are opening.  (With FileZ, select the
database by tapping on it to put a check mark next to it,
then hit the "Details" button and go to the "Attrs" tab.)

If the dmHdrAttrStream flag isn't set, then I think the
FileOpen() function will refuse to load it.  You could
test this by writing some code that just does FileOpen()
and then FileClose() just to see if it can be opened.

  - Logan

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

Reply via email to