纵横仙侣2弹出Themath kernel libraryy is invalid!

郁闷了!Jnative调用dll错误,Not found the kernel library... - ITeye问答
代码如下:
String libpath = "F:\\dll\\test.dll";
System.load(libpath);
JNative n =&&
&& try {&&&&&&&&&&&&&
&&&&&&&&&&& n = new JNative("Test.dll", "test1");&&&
&&&&&&&&&&& n.setRetVal(Type.VOID);
&&&&&&&&&&& n.setParameter(0,Type.INT,"0");
&&&&&&&&&&& n.setParameter(1,Type.INT,"0");
&&&&&&&&&&& n.setParameter(2,Type.STRING,"111");
&&&&&&&&&&& n.setParameter(3,Type.STRING,"222");
&&&&&&&&&&& n.invoke();&&
&&&&&&&&&&&&&&&&&&&&& }catch .....
Test.dll是用delphi写的。
当运行到n.invoke的时候就弹出系统错误提示,内容为:
Not found the kernel library or the kernel library is invalid or the kernel library of this edition does not support DLL!
---
网上google,都说是因为系统***了什么软件什么的,试了不起作用。分别在2台2003上运行,都是相同的错误!
目前还没有***
已解决问题
未解决问题

参考资料

 

随机推荐