> From: Nicol�s Zeitlin
>
> The problem is.. I cannot MemPtrFree() the Char* I
> used initially to pass on to SysFormPointerArrayToStrings(),
> which is sizeof(char) * 50 -Pretty big-.
>
> Why is this? How should I release the memory? Thanks a lot,
>
Since SysFormPointerArrayToStrings() creates an array of pointers to the
strings within the original Char *, you can't free it as long as the list
needs access to the strings. When you destroy the list (e.g., by destroying
the form it is on), then you should free up the array of pointers and the
Char * which contains the strings.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/