Confuse with JNI calling my existing c++ dlls?
843829May 23 2004 — edited Jun 17 2004Ok i already wrote a C++ dll and register it in my windows xp.
When i start to learn JNI, i see how it works. But i am confuse.
It seems, that i need to compile my java class, generate a header file, write the c/c++ code, and create a shared library.
I already had a c++ dll, why would i need to write those c/c++ code for and need to include the *.h file?
Are they suppose to be a separate c/c++ file from my existing c++ dll?
Thanks. Can anyone show me some lights please?