Hi !
I'm trying to use JNIs and I find it kinda hard !
Here's a portion of my code, I want to put a jstring (called PathFichiers) in a C char array (called path_temp) :
static char path_temp[255]={0}; /*global variable*/
const jchar* str;
str=(*env)->GetStringChars(env, PathFichiers, 0);
path_temp=str;
(*env)->ReleaseStringChars(env, PathFichiers,0);
I get an error sayingthat my left operande is not a lvalue.
Can someone explain me what's wrong with it ?
Thanks,
Gaelle.
I'm trying to use JNIs and I find it kinda hard !
Here's a portion of my code, I want to put a jstring (called PathFichiers) in a C char array (called path_temp) :
static char path_temp[255]={0}; /*global variable*/
const jchar* str;
str=(*env)->GetStringChars(env, PathFichiers, 0);
path_temp=str;
(*env)->ReleaseStringChars(env, PathFichiers,0);
I get an error sayingthat my left operande is not a lvalue.
Can someone explain me what's wrong with it ?
Thanks,
Gaelle.