Sunday, 22 July 2012

Loading and using DLL in Java Codes

loading DLL should be in static block since it requires to be loaded before creation of any object as main method. DLL shold be in current directory where class file is located.


static {
System.loadLibrary("DLL Name");
}

No comments:

Post a Comment