Hi! I have some difficulties with VFS file I/O. I open file on the MMC card using read/write access and use it in the background task. The main problem is that PalmOS doesn't allow vfsModeLeaveOpen flag and I should reopen file each time when foreground applications are switched. But it's not the last problem. I find out that sometimes VFSFileRead function failed to read the data from the properly open file and return error. Another big problem: during investigation I insert check routine which verifies write operation. After call of VFSFileWrite I read the same block with VFSFileRead and I find out that sometimes contents of this block is differ! Evidently it is write error but VFSFileWrite returned errNone. What happened??? Furthemore this program works fine on the POSE HostFS file system, no I/O error, no "Permission denied" error.
I use Palm m505 with PalmOS v4.0 and 32Mb MMC card. Emulator POSE v3.3 with HostFS. Any help is very appreciated. Best regards, Alex. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
