How to use the DLLs which created from c++ in Java?

And How to use the DLLs which created from JNI in C++?
[68 byte] By [skyyjck] at [2007-9-26 16:27:13]
# 1
Huh?Are you asking how to do JNI - you should read the tutorial.Are you asking how to load it - then use System.loadLibrary()Are you asking what to do with the output from javah - put it in a C file and write some code, compile it into a dll.
jschell at 2007-7-2 20:03:52 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Write your own wrapper DLL which implements the JNI-Header generated by javah. This DLL must provide functions for accessing the native (C++) DLL.
Demjan at 2007-7-2 20:03:52 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
yes,i think it's the only way to do that!thanks.
skyyjck at 2007-7-2 20:03:52 > top of Java-index,Java HotSpot Virtual Machine,Specifications...