PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiVFS

A thread for discussing Develant's virtual file system.
Can we write to the archive? Is this OK? What are the restrictions for doing so? Can we do so through CGapiFileBuffer::GetBuffer? Is that the only way?
It would probable be of little use to write to the virtual file system. The way it operates now is:

1. The file system is store in 32kb segments as Palm resources, which are merged into:
2. A chunk of data in the Palm storage memory.

You cannot write directly to the storage memory used by GapiVFS. If you use GapiFileBuffer, memory is allocated in dynamic memory to copy a file from storage to dynamic memory. So all changes would either be done to the dynamic memory used by GapiFileBuffer, or to the temporary chunk of data in Palm Storage memory.