How to convert Java String[] to a C char**?
843829Sep 26 2002 — edited Sep 28 2002I have to call a C function with a parameter char**, a char* array. As the String in java may contain Chinese or Japanese characters, I use a function from IBM DW to get the string:
char* jstringToWindows( JNIEnv* env, jstring jstr );
Because I'm not familiar with C/C++, I don't know how to initial a char**? Use "malloc"? But what this the size of this char**?
I need help. Thanks very much.