>i know that it is destroied, but i return its value to the function that
>keeps it ok.
No you don't. You return a pointer (CharPtr) to it, and it no longer
exists. The fact that you get some meaningful partial result in your
calling function is purely accidental.
Regards,
Steve Mann
--
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461 805.784.9462 (fax)
[EMAIL PROTECTED] http://www.cdpubs.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/