I am trying to load a dll in java using the following code System.loadLibrary(\"mydll\");
The project is placed in D:\\development\\project\\ and i have placed t
I got my error resolved by using the following:
static { try { System.loadLibrary("myDLL"); } catch (Exception e) { e.printStackTrace(); } }
Instead of using System.load("myDLL.dll")
System.load("myDLL.dll")