> From: Rhoda BEROL > > CharPtr tmp=""; > tmp=MemPtrNew(StrLen(collabo.NomCollaborateur)); > tmp=StrToLower(tmp,"collabo.NomCollaborateur"); > StrLen returns the length of a string, not including the terminating '\0'. So you have to use tmp=MemPtrNew(StrLen(collabo.NomCollaborateur)+1); or StrToLower() will write past the allocated memory. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
- StrToLower Rhoda BEROL
- Re: StrToLower George R
- Re: StrToLower Rhoda BEROL
- Re: StrToLower Viraj Chatterjee
- Re: StrToLower Rhoda BEROL
- StrToLower Richard Burmeister
- StrToLower Stringer
