我环境搭建没问题,jawin的测试程序都能运行
调用自己的DLL时出现如下错误!!
请好心人帮帮我吧!!不然就要出人命了!!public static void main(String args[]){
FuncPtr f1 = null;
try{
f1 = new FuncPtr("C:\\VS\\Release\\HospitalEnd.dll","GetSystemInformation");
f1.invoke_I(ReturnFlags.CHECK_NONE);
System.out.println(f1);
}catch(Exception e){
e.printStackTrace();
}
}我调用的函数的功能是从ini里读配置,不用传参数,返回值bool_declspec(dllexport) bool GetSystemInformation()错误如下:
org.jawin.COMException: 8007007f: ???????¨????ò?? at org.jawin.Bootstrap.loadFunction(Native Method)
at org.jawin.FuncPtr.<init>(FuncPtr.java:80)
at com.underdark.dlltest.DllTest.main(DllTest.java:11)
调用自己的DLL时出现如下错误!!
请好心人帮帮我吧!!不然就要出人命了!!public static void main(String args[]){
FuncPtr f1 = null;
try{
f1 = new FuncPtr("C:\\VS\\Release\\HospitalEnd.dll","GetSystemInformation");
f1.invoke_I(ReturnFlags.CHECK_NONE);
System.out.println(f1);
}catch(Exception e){
e.printStackTrace();
}
}我调用的函数的功能是从ini里读配置,不用传参数,返回值bool_declspec(dllexport) bool GetSystemInformation()错误如下:
org.jawin.COMException: 8007007f: ???????¨????ò?? at org.jawin.Bootstrap.loadFunction(Native Method)
at org.jawin.FuncPtr.<init>(FuncPtr.java:80)
at com.underdark.dlltest.DllTest.main(DllTest.java:11)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货