At 8:08 PM +0100 24-02-00, Jeff Ishaq wrote:
>I'm using a temporary database to offload some string storage into the
>storage heap.  Gotta free up some dynamic heap.  This database essentially
>holds the strings that appear in a dropdown list of selections.

Using fewer chunks is better.

Why not use a FtrPtr.  If you're writing code for the new OS (3.2 and
later, I think), then this gives you an easy way to allocate and uses
non-dynamic-heap memory and not worry about having to clean it up if the
device is reset.  (You still should delete it when you're done with it.)
See the Palm OS docs for more details.

                                --Bob



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to