利用jna在java下调用c语言库文件

上传者: edwinwangchen | 上传时间: 2022-04-28 12:04:23 | 文件大小: 5.94MB | 文件类型: ZIP
在此编了一个利用jna在java平台下调用c语言动态链接库的例子,c++代码也已经提供,java代码已经调试通过。

文件下载

资源详情

[{"title":"( 70 个子文件 5.94MB ) 利用jna在java下调用c语言库文件","children":[{"title":"c+++jna+java","children":[{"title":"jnamydll","children":[{"title":"bin","children":[{"title":"jnamydll","children":[{"title":"TestDll1Service$TestDll1.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"TestDll1Service.class <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$CompanyStruct.class <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$CompanyStruct$ByReference.class <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$CompanyStruct2.class <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$UserStruct.class <span style='color:#111;'> 722B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$UserStruct$ByValue.class <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$UserStruct$ByReference.class <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"TestDll1Service$TestDll1$CompanyStruct2$ByReference.class <span style='color:#111;'> 626B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 113B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"jnamydll","children":[{"title":"TestDll1Service.java <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"TestDll1.dll <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"mydll","children":[{"title":"mydll.sdf <span style='color:#111;'> 8.71MB </span>","children":null,"spread":false},{"title":"mydll.suo <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"mydll-2412c2c","children":[{"title":"testdll1-c15bbc99.ipch <span style='color:#111;'> 14.56MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"TestDll1.ilk <span style='color:#111;'> 389.06KB </span>","children":null,"spread":false},{"title":"TestDll1.exp <span style='color:#111;'> 918B </span>","children":null,"spread":false},{"title":"TestDll1.lib <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"TestDll1.pdb <span style='color:#111;'> 611.00KB </span>","children":null,"spread":false},{"title":"TestDll1.dll <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"mydll.sln <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"mydll","children":[{"title":"dll.h <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"mydll.vcxproj <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"mydll.cpp <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.7500.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 227.00KB </span>","children":null,"spread":false},{"title":"link.720.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mydll.log <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"link.7608.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"TestDll1.lastbuildstate <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"link.720-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"link.7608-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"mydll.lastbuildstate <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"link.7608.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"TestDll1_manifest.rc <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7500-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"TestDll1.write.1.tlog <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"link.720.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.720-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"TestDll1.dll.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"link.7500.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"link.7500-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"TestDll1.dll.embed.manifest.res <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"link.7608-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"TestDll1.Build.CppClean.log <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"link.5764.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.5764-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"link.5764-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mydll.obj <span style='color:#111;'> 59.28KB </span>","children":null,"spread":false},{"title":"TestDll1.dll.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"link.5764.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 236.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"mydll.vcxproj.filters <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"mydll.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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