Hi Horst Thanx for your reaction!
> If you want to append data to your file, you MUST use vfsModeReadWrite | > vfsModeCreate. Otherwise your file is deletetd every time it is open, so it > will only contain the latest block ao data. Good to know (understatement...) > So maybe it's the vfsModeWrite? Nope, pretty sure it's the vfsFileSize (I stepped 'thru it in the simulator). > But, if you want to append your data, you could use this instead: > VFSFileSeek(fileRef, vfsOriginEnd, 0); > HostFS will return errNone, but on a real device you will get an > vfsErrFileEOF, so ignore this. Yeah, I tried / noticed that too. From now on I will just ignore the vfsErrFileEOF Thanks again for your help! regards, Caspar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
