The DLL's exported functions should conform to the JNI function declarations produced by javah tool, should be exported with __stdcall calling convention and should be exported by name not ordinal (check with dependency viewer if you're not sure). Are all these satisfied?
Joined: Aug 31, 2008
We generated the dll file without any compilation error and this dll is working fine when we are using with stand alone java application.
But if we try to use in web application it is not giving any exception while it is loading.
When we try to call a particular method on the dll from a servlet it is showing the message Servlet Threw An Exception. We are not able to call a method which are there in the dll file. What may be the problem??? We are using JBOSS server.