And the Linux connection is what?
-----Original Message-----
From: soonho [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 11:50 PM
To: java-linux
Subject: accessing java string
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
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]