Re: Calling functions in a dll from a java program.
Posted By:
Robert_Lybarger
Posted On:
Wednesday, November 5, 2008 07:26 PM
You will have to write your own dll that creates the JNI "bridge" between Java code and that other dll that you want to call into. This bridge code is where you handle the data type conversions. java.sun.com/docs/books/tutorial should have a trail that gives a starting look at writing and wiring JNI, although you will still have to know C code and how to use whichever C compiler/linker you have available to create your dll file.