I am trying to use TxtTransliterate to convert a string to either upper or
lower case, but am having trouble.  I've never worked with any of the Txt
functions so that may be part of my problem.  Following is the prototype of
the function:
Err TxtTransliterate (const Char* inSrcText, UInt16 inSrcLength, Char*
outDstText, UInt16* ioDstLength, TranslitOpType inOp)

1) Isn't the inSrcText parameter simply a NULL terminated string defined as
Char* ?
2) Is inSrcLength the length of the string including the NULL byte?
3) Should outDstText be initialized with a NULL byte before using?
4) What about ioDstLength - if I'm simply converting a string from upper
case to lower case, wouldn't this always be the same as inSrcLength?

Thanks,
Dave



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

Reply via email to