Retrieves the characters of the Java String object into a C string buffer.
char* __cdecl javaString2CString(Hjava_lang_String *s, char *buf, int buflen);
Returns the address of the C string.
*s | The Java String object. |
*buf | The C string buffer. |
buflen | The length of the C string buffer. |
Use this function in place of the JDK makeCString function, which is unsupported by the Microsoft RNI. No allocation occurs with this function.