My app maintains a cache of information in a file on a VFS volume.  In order
to improve performance of the cache, I was hoping that I could update
selected entries in this file, rather than writing the whole thing out
whenever anything changes.  Unfortunately, it appears that this is not
supported.  Can somebody confirm/deny this?

What the code does is open the file for write access (no truncate), seek to
the proper portion of the file, write the data, then close the file.  The
result, however, was that the only data in the file was what was written,
i.e., the file was truncated to zero length, then the data written.

Is that the way it is supposed to work?  Is there some other way to update
selected portions of a VFS file?

Thanks,

Mark Peters



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

Reply via email to