"Peter Caylor" <[EMAIL PROTECTED]> wrote in message
news:34373@palm-dev-forum...
>
> I am trying to do a checksum on an installed application, which requires
> that I read the application in small (5k or so) chunks. Whenever I try to
> open the application using FileOpen, I get an error 5649.
(fileErrNotStream)
>
> Can anyone point me to some information on how I can use the File
Streaming
> API commands on an installed application?
The file streaming APIs only work on Palm databases that have been created
on the device as file streams. The format is undocumented, but it basically
consists of a database with the file stream attribute set in its header, and
a series of 4K blocks as database records, the blocks acting as file
sectors. I doubt that you could easily read an arbitrary database as a file
stream -- you could probably open a DB and then checksum all of the database
blocks for your purpose, however.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/