I use error = VFSFileOpen (volRef, LOGFILENAME, vfsModeWrite | vfsModeCreate, &fileRef);
this works fine, apart from the fact that I would like to open the file in 'append' - mode - I want to add whatever I write to the file to the end of what is already in the file, and there is no Open Mode Constant to do this. So in order to find the end of the file (and to see if the filelength > 0), I try to retrieve the filesize. But error = VFSFileSize(fileRef, &fileSize); results in error A205 (vfsErrFilePermissionDenied - not listed in documentation as one of the potential errors for VFSFileSize) Permission denied????? Why? regards, Caspar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
