> From: LarryLu
> I want to use malloc to resize a string. I tried #include <stdlib.h>
> but codewarrior
> says it can't 'stdlib.h' can not be opened. Does this mean it can't
> find it or
> does it mean I'm not supposed to use stdlib with the palmos headers?
>
The Palm OS provides its own memory management functions which you should
use instead of the standard C functions. To allocate additional memory for
a string, you should use MemHandleResize or MemPtrResize. Read the "Memory
Management" section of the "Palm OS Programmer's Companion".
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/