亲测可用,java 成功调用dll函数。包含调用回调函数,springboot版本。最近由于公司业务需要,要调用dll文件,用JNA调用。

上传者: sinat_19594515 | 上传时间: 2021-08-11 17:24:25 | 文件大小: 202KB | 文件类型: ZIP
亲测可用,java 成功调用dll函数。包含调用回调函数,springboot版本。最近由于公司业务需要,要调用dll文件,用JNA调用。

文件下载

资源详情

[{"title":"( 89 个子文件 202KB ) 亲测可用,java 成功调用dll函数。包含调用回调函数,springboot版本。最近由于公司业务需要,要调用dll文件,用JNA调用。","children":[{"title":"demo-test-dll","children":[{"title":".gitignore <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"TestDll.dll <span style='color:#111;'> 384.28KB </span>","children":null,"spread":false},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"maven-wrapper.jar <span style='color:#111;'> 49.52KB </span>","children":null,"spread":false},{"title":"MavenWrapperDownloader.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"templates","children":null,"spread":false},{"title":"static","children":null,"spread":false},{"title":"application.properties <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"dll","children":[{"title":"demo","children":[{"title":"demo","children":[{"title":"DemoApplication.java <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"dllService","children":[{"title":"DllService.java <span style='color:#111;'> 864B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"dll","children":[{"title":"demo","children":[{"title":"demo","children":[{"title":"DemoApplicationTests.java <span style='color:#111;'> 812B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"HELP.md <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 9.63KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"dll","children":[{"title":"demo","children":[{"title":"demo","children":[{"title":"DemoApplication.class <span style='color:#111;'> 735B </span>","children":null,"spread":false},{"title":"dllService","children":[{"title":"DllService$JNATestDll$CbackIpm.class <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"DllService.class <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"DllService$JNATestDll$Cback.class <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"DllService$JNATestDll.class <span style='color:#111;'> 608B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"application.properties <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":true},{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"dll","children":[{"title":"demo","children":[{"title":"demo","children":[{"title":"DemoApplicationTests.class <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Maven__org_springframework_boot_spring_boot_starter_test_2_3_2_RELEASE.xml <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_37.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_web_2_3_2_RELEASE.xml <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":"Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_1_10_13.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_5_6_2.xml <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_5_2_8_RELEASE.xml <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"Maven__org_ow2_asm_asm_5_0_4.xml <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_jcl_5_2_8_RELEASE.xml <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"Maven__org_skyscreamer_jsonassert_1_5_0.xml <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"Maven__net_minidev_accessors_smart_1_2.xml <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_webmvc_5_2_8_RELEASE.xml <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_1.xml <span style='color:#111;'> 734B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_1.xml <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_expression_5_2_8_RELEASE.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_core_1_2_3.xml <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"Maven__org_junit_platform_junit_platform_commons_1_6_2.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_test_2_3_2_RELEASE.xml <span style='color:#111;'> 710B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_core_5_2_8_RELEASE.xml <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_params_5_6_2.xml <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_core_2_11_1.xml <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"Maven__org_junit_platform_junit_platform_engine_1_6_2.xml <span style='color:#111;'> 665B </span>","children":null,"spread":false},{"title":"Maven__org_objenesis_objenesis_2_6.xml <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_api_5_6_2.xml <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"Maven__org_yaml_snakeyaml_1_26.xml <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_2_3_2_RELEASE.xml <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_aop_5_2_8_RELEASE.xml <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"Maven__org_glassfish_jakarta_el_3_0_3.xml <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"Maven__net_minidev_json_smart_2_3.xml <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"Maven__com_jayway_jsonpath_json_path_2_4_0.xml <span style='color:#111;'> 585B </span>","children":null,"spread":false},{"title":"Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_3_2_RELEASE.xml <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_classic_1_2_3.xml <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"Maven__org_assertj_assertj_core_3_16_1.xml <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_web_5_2_8_RELEASE.xml <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_agent_1_10_13.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_beans_5_2_8_RELEASE.xml <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_engine_5_6_2.xml <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_30.xml <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_json_2_3_2_RELEASE.xml <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"Maven__org_apiguardian_apiguardian_api_1_1_0.xml <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_autoconfigure_2_3_2_RELEASE.xml <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_test_5_2_8_RELEASE.xml <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_databind_2_11_1.xml <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"Maven__com_sun_jna_jna_3_0_9.xml <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_2_3_2_RELEASE.xml <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"Maven__org_hamcrest_hamcrest_2_2.xml <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_1.xml <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"Maven__org_mockito_mockito_junit_jupiter_3_3_3.xml <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"Maven__org_opentest4j_opentest4j_1_2_0.xml <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_1.xml <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"Maven__org_xmlunit_xmlunit_core_2_7_0.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_tomcat_2_3_2_RELEASE.xml <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_jul_to_slf4j_1_7_30.xml <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"Maven__org_mockito_mockito_core_3_3_3.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_logging_2_3_2_RELEASE.xml <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_37.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false}],"spread":false},{"title":"workspace.xml <span style='color:#111;'> 5.81KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"jarRepositories.xml <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 273B </span>","children":null,"spread":false}],"spread":true},{"title":"demo-test-dll.iml <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_40982792 :
    就是个简单的例子,帮助不大
    2020-09-26

免责申明

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