JNI: Access a class declared in C++
Posted on 2002-06-17
I have a class declared in C++ and I want to access it in Java code. The problem is I need several instances of the class, so I can't make a global reference to it.
Is there any method that I can pass a pointer of C++ to the Java code? And I need to do something with the class in Java code.