java用JNA调用dll实例,包含各种参数调用

上传者: magic_hu123 | 上传时间: 2013-04-17 00:00:00 | 文件大小: 975KB | 文件类型: rar
实例中演示了各种参数形式的DLL函数调用,如:基本数据类型、基本数据类型的指针和引用、结构体、结构体的指针和引用、函数指针和回调函数、字符串指针、输入数组、输出数组等,非常实用。

文件下载

资源详情

[{"title":"( 41 个子文件 975KB ) java用JNA调用dll实例,包含各种参数调用","children":[{"title":"JNA_Demo","children":[{"title":"My JNA Demo","children":[{"title":"CallDll","children":[{"title":".project <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"CallMain","children":[{"title":"CallMain$DispLastSN.class <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"CallMain$Rect$ByValue.class <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"CallMain$Rect.class <span style='color:#111;'> 496B </span>","children":null,"spread":false},{"title":"CallMain.class <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"CallMain$Staff.class <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"CallMain$SerialNum$ByValue.class <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"CallMain$SimpleAdd.class <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"CallMain$DllInterface.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"CallMain$SerialNum.class <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"CallMain$OnAssignSN.class <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"CallMain$AssignMethod$ByReference.class <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"CallMain$SerialNum$ByReference.class <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"CallMain$CustumPlus.class <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"CallMain$Staff$ByReference.class <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"CallMain$Rect$ByReference.class <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"CallMain$AssignMethod.class <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"CallMain$Char32msg.class <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"src","children":[{"title":"CallMain","children":[{"title":"CallMain.java <span style='color:#111;'> 9.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"DllTest.dll <span style='color:#111;'> 128.00KB </span>","children":null,"spread":false},{"title":"jna.jar <span style='color:#111;'> 925.88KB </span>","children":null,"spread":false}],"spread":true},{"title":"DllTest","children":[{"title":"DllTest","children":[{"title":"DllTest.aps <span style='color:#111;'> 18.38KB </span>","children":null,"spread":false},{"title":"DllTest.def <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"DllTest.rc <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"DllTest.sln <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"DllTest.opt <span style='color:#111;'> 52.50KB </span>","children":null,"spread":false},{"title":"DllTest.vcproj <span style='color:#111;'> 6.81KB </span>","children":null,"spread":false},{"title":"DllTest.plg <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"DllTest.suo <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"DllTest.clw <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"DllTest.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"DllTest.dsp <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"DllTest.h <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"DllTest.rc2 <span style='color:#111;'> 399B </span>","children":null,"spread":false}],"spread":false},{"title":"DllTest.cpp <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"DllTest.vcproj.PC-201001210016.Administrator.user <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • Amyliaa :
    不咋样,我用swig解决了
    2020-11-06
  • cm2019 :
    好东西,谢谢分享
    2020-07-07
  • cyywawa0 :
    Unable to load library一直报这个
    2019-12-25
  • 钢筋裤衩蛋 :
    很好 很好 不错不错
    2019-08-28
  • oDENIS1 :
    一般般吧,感谢分享
    2018-11-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明