"Stella Lai" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The "close" function on other systems does not necessarily force data to be > written - it still sits in cache after the close. Does VFSFileClose force > the data to the card??
I think the misunderstanding on your part is due to the assumption that the data is always buffered before it's written to disk. File I/O may work that way on desktop platforms, but nothing in the Palm API docs says that VFS operations are buffered. The API documentation for VFSFileWrite says: "Write data to an open file." It doesn't speak of the data being buffered at all. There is no VFSFileFlush call or anything resembling it in the API. Anyway, VFS operations work fine in my app. I'm doing multiple VFSFileWrite calls to "stream" data as it arrives from a network connection. Regards -Laurens -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
