Peter Epstein wrote in message <5909@palm-dev-forum>...
>
>The docs are pretty clear on this: the function doesn't copy the string you
>pass, so you need to manage the memory yourself, freeing it when you know
it
>is no longer needed. The docs don't say whether you need to set the label
to
>NULL in order to keep it from being freed twice, but that's what I'd do if
I
>were making the control use a label I allocated myself.
>


I know how to manage the memory I am stuffing into the
label ... but the labels come initially w/ their own ptrs, what
I am asking is what (if anything) to do with -those- once
I kick 'em out in favor of my own.

--
-Richad M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!





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

Reply via email to