You're absolutly right. That was it. What's most stupid is that previously I
had used StrLen instead of sizeof for another string. The problem was
basically my mind, My idea was to allocate memory for the string and then
fill it and it seemed correct. After changing to StrLen no more problems.
DUUUUUUUUUUUHHHHHHHHHHHH
Thx a lot for your help
Ricardo

"Helmut A. Bender" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi Ricardo,
>
> don't know if that's the problem, but you use sizeof() to get the length
of a
> string and that doesn't work. sizeof("text") returns the size of a pointer
to
> char, not the length of the string. Take StrLen() instead.
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to