On 2001年3月26日, Rajesh Kadikar wrote: > char *cstring = (char *) JvGetStringChars(sam->javaString); You can't do that. jchar and char are incompatible types: the former is Unicode (UCS-2). Use JvGetStringUTFRegion instead. Note that you must allocate storage for the (char *) argument and supply a null terminator. Jeff