Hello All,

I have couple quick questions about calling MemHandleFree after calling
MemHandleNew.

For example, if I call MemHandleNew to create a new array of strings to
populate a list at runtime, then should I call MemHandleFree after calling
LstSetListChoices?
Or does LstSetListChoices know to free the memory of the old data?  This
might be a problem because if I keep calling MemHandleNew and no where free
the old memory chunks, then I will use up all the memory very quickly!! 
I guess this is similar in FrmCopyLabel and even possibly FldSetTextHandle??

If I call MemHandleUnlock, will they check to free the chunk if no program
needs it anymore?

Thanking you in Advance, Forum Members,
Eric Sun
Developer - RAD systems
Q. Data Inc.
4/24/00 10:20 AM

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

Reply via email to