主题:用java调用windowsAPI的问题
public class TestJni {
public native String GetTickCount();
static {
System.loadLibrary("Kernel32");
}
public static void main(String[] args) {
TestJni testJni = new TestJni();
testJni.GetTickCount();
}
}
GetTickCount()是windowsapi函数,我在java里调用它,如何表示它的返回类型WINAPI 那?
public native String GetTickCount();
static {
System.loadLibrary("Kernel32");
}
public static void main(String[] args) {
TestJni testJni = new TestJni();
testJni.GetTickCount();
}
}
GetTickCount()是windowsapi函数,我在java里调用它,如何表示它的返回类型WINAPI 那?