After calling VFSFileDBGetResource(), the documentation states that I
should free the handle returned in the resHP argument using MemHandleFree().
However, the documentation for this function says that the handle is
allocated in the _storage_ heap, which would imply it was allocated behind
the scenes through the Data Manager, and should probably be deallocated
using DmReleaseResource(). As I recall, one uses MemHandleFree() only on
handles allocated in the dynamic heap.
Furthermore, MemHandleDataStorage( resHP ) returns true, confirming that
resHP was allocated in the storage heap.
Is this a documentation bug, or am I missing something?
Take it easy,
-Jeff Ishaq
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
