I have a 32 bit DLL that I want to access using JNA (I am running Windows 10 64 bit). If I use JDK 1.6 the call to LoadLibrary passes but if I use the 32 bit version of JDK 1.8 then it fails.
The error message given in JDK 1.8 is "java.lang.UnsatisfiedLinkError: Unable to load library 'mydll': The specified module could not be found"
public interface MYDLL extends Library {
MYDLL INSTANCE = (MYDLL) Native.loadLibrary("mydll", MYDLL.class);
}