Hi all,
I created a JVM (JNI_CreateJavaVM), then now I
would like to accessing java string through GetStringUTFChars.
Before I can use GetStringUTFChars, I have
to FindClass and GetMethodID?
Since GetStringUTFChars(env, string, isCopy) is so
simple, doesn't involve methodID and so on, I don't know how this string can be
passed to native program.
For example, i wanna to get java string s1 from
java side. My C native side have to assign jstring s1? How it can get jstring
from java? Java have to return String s1?
Thank you
soonho
|
- RE: accessing java string soonho
- RE: accessing java string w. Terry Lincoln
- Re: accessing java string Joi Ellis
- Java very slow on linux 2.4 Vijaykumar Krishnaswamy