Ben Combee wrote:
At 09:25 PM 4/16/2005, you wrote:
I'll try that. I'm using VFSFileDBGetRecord to access the records from
the database on a memory card.. Is that still valid then on NVFS
devices? I do a MemHandle free after VFSDBGetRecord there also.
That call isn't affected by NVFS at all -- that is just a read file/copy
to dynamic heap/return MemHandle call.
Hmm, I was under the impression that VFSFileDBGetRecord() returns a
handle in the storage heap. At least, that's what the documentation
says, and I have one app that keeps a cache of (up to) 256K of
data in handles returned by VFSFileDBGetRecord() which works fine
on the m505 even though as I understand it the m505 only has 256K
of dynamic heap total.
So does that mean that NVFS devices put VFSFileDBGetRecord() handles
in dynamic heap whereas non-NVFS devices put them in storage heap?
- Logan
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/