> From: Jill Thornhill [mailto:[EMAIL PROTECTED]]
> As PalmOS splits the file into the segments/records and
> places the 'DBLK' header on each record, does it rectify
> this on file read or will I need to manually remove the 'DBLK'?
The block header is just an internal implementation detail that is not
exposed to users of the file stream API, so you definitely should not
encounter 'DBLK' in the file data. The file stream API is supposed to work
like standard file I/O from a thicker computer.
> At the moment any compressed file larger 4104 bytes corrupts my
> uncompress routine and I get an uncompressed file of rubbish.
Maybe post some code that demonstrates the problem.
Also, consider testing your file compression logic by using Poser's
HostControl API to make real files on disk. Then you'll know you are
working with a known solid file I/O implementation.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/