Originally posted by Jesper Young:
You can't just call any function in a DLL using JNI.
What you can do is write an intermediate DLL yourself. Write a DLL (in C or C++) with functions that you can call from your Java code using JNI, and in your DLL call the functions in the third-party DLL.
For JNI, we must have a wrapper DLL as you said and That's what i don't wish to do. Writing the wrapper will take a lot of time. since it is third party dll.
Is there any other api, that can help me to call a dll?