DLL to JNI
843829Jan 18 2002 — edited Jan 22 2002I have a DLL writen in C++ and I want to expose this classes and methodes in DLL to Java. If we want to go through JNI, what is the best way to do this?
All the tutorial is writing Java class and generate header file (.h) for C++. So do I have to duplicate all C++ class in Java class. How does object reference been handled between Java and c++? I am very new to this, so any suggestion will be greatly appreciated.