Miguel wrote:

 > FtrPtrHeap allocates memory in the storage heap and I think that
 > MemHeapFreeBytes returns the free bytes in the dynamic heap. That 
 > should be the reason the function returns the same value before 
 > and after calling FtrPtrNew.

MemHeapFreeBytes tells you the free bytes on the heap you pass to it.
If you pass it (0,1) that should be the storage heap, (0,0) is the dynamic heap.

So I do not think that is the correct answer to my question as to why I do not 
see the storage heap free space shrink after FtrPtrNew().

R.

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to