Kristian Austad wrote:
I've played around with FileOpen for ages, but I'm constantly rewarded with
ErrorCode 17; fileErrNotStream, which is bullshit since I know it's a
perfectly valid palm database file. Or could there be something wrong in my
pdb-header and "FileOpen" being more sensitive to this than
"DmOpenDatabase..."? I think it's ridiculous that the Palm developers have
made something as simple as reading from a binary file in memory so hard. On
the PocketPC this all works like charm.
"Stream" and "database" are not the same thing. A stream has some extra
header data, a separate record for every 4kb (IIRC) block, and type "strm".
To create a stream you should either use a program which supports that
(such as par) or FileOpen in write mode.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/