J
JPractitioner
Hi all!
I already have a .dll file. I want to call a few functions from the
..dll file. I have a pdf documentation that shows me the function specs
of the dll file (i.e. function name, function call, function return,
etc). Apparently those are C/C++ code.
I figured out that this can be done with JNI. However it seems that,
with JNI, I will be creating another .dll
(I refer to this tutorial and done with it:
http://www.iut-info.univ-lille1.fr/docs/tutorial/native1.1/index.html)
So my question is, do i have to create another .dll which will be used
to call the other .dll that need to use?
I wonder if, i can call the dll functions directly from java code. i.e.
after
System.load(theDll.dll);
//call the functions here
If this cannot be done, that means i will have to call the functions
from a c code that will implement java header files right?
Your point of views are very much appreciated.
Thank you.
I already have a .dll file. I want to call a few functions from the
..dll file. I have a pdf documentation that shows me the function specs
of the dll file (i.e. function name, function call, function return,
etc). Apparently those are C/C++ code.
I figured out that this can be done with JNI. However it seems that,
with JNI, I will be creating another .dll
(I refer to this tutorial and done with it:
http://www.iut-info.univ-lille1.fr/docs/tutorial/native1.1/index.html)
So my question is, do i have to create another .dll which will be used
to call the other .dll that need to use?
I wonder if, i can call the dll functions directly from java code. i.e.
after
System.load(theDll.dll);
//call the functions here
If this cannot be done, that means i will have to call the functions
from a c code that will implement java header files right?
Your point of views are very much appreciated.
Thank you.