java如何调用大漠插件

参考别人的代码用JNA调用dm.dll,该如何注册呢
import com.sun.jna.Library;
import com.sun.jna.Native;

public class y {

public static void main(String[] args){
        test();
    }

    public static void test(){
            String path = y.class.getResource("dm.dll").getPath();
            if(path.startsWith("/")){
                path = path.substring(1);
            }
            T dm = (T) Native.loadLibrary(path,T.class);
            System.out.println("大漠插件:"+dm.Ver());

    }

    public interface T extends Library{
        String  Ver();
    }

}
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'Ver': ???????¨?

http://bbs.anjian.com/showtopic-250748-1.aspx