Nope, I didn't. Now that you mention it, though, it does makes sense that read access is necessary to do this. I guess this belongs in the category of "Duh!". ;-)
Thanks, Mark Peters "Jan Slodicka" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Did you try vfsModeReadWrite open mode? > > Jan Slodicka > > ----- Original Message ----- > From: "Mark A. Peters" <[EMAIL PROTECTED]> > > > > 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/ > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
