Using JNative call dll is howto use JNative call dll, but its code is more than JNA. So, I sincerely suggest use JNA.
Fisrt, download the JNA.jar and import to the project library.
Second, write your dll interface class just like below.
package jna;
import com.sun.jna.Native;
import com.sun.jna.win32.StdCallLibrary;
public interface OMSignAPI extends StdCallLibrary {
OMSignAPI INSTANCE = (OMSignAPI)
Native.loadLibrary("C:\\Program Files\\OrderMaster\\OMSignAPI",
OMSignAPI.class);
public boolean IniDllAndPosition(String signID, int iniPosition);
public boolean GoOrder(String signID, String bySignStr,
String dateTimeStr, int nowPosition, double nowPrice);
}


