T
Tim Wong
I have a java method setup where it will be accessed in C++ via JNI.
The process is as follows:
1) C++ function getObject(...) is called.
2) getObject(...) uses JNI to access a java class method
getJObject(...).
3) getJObject(...) will do some calculations, save them to a complex
object. This object is downcasted to the class "Object" and returned.
4) C++ function getObject(...) get's back a <jbyteArray> from the JNI
call and casts this to a jobject.
My question is...what can methods can I perfrom on this jobject. What
fields can I access? I'm trying to convert it into an already existing
C++ class, but am unsure on what i can do.
Help Please!
Tim
The process is as follows:
1) C++ function getObject(...) is called.
2) getObject(...) uses JNI to access a java class method
getJObject(...).
3) getJObject(...) will do some calculations, save them to a complex
object. This object is downcasted to the class "Object" and returned.
4) C++ function getObject(...) get's back a <jbyteArray> from the JNI
call and casts this to a jobject.
My question is...what can methods can I perfrom on this jobject. What
fields can I access? I'm trying to convert it into an already existing
C++ class, but am unsure on what i can do.
Help Please!
Tim