1, the establishment of a C program, including the code, can generate DLL
2, create a new Java project and the steps to import just newly generated DLL file
3, Java code successfully call DLL files
CodePudding user response:
1, direct using jni, need DLL c project coordination, according to the jni header file with code2, the use of jna call, need to download the jna some third party documents, is very simple, baidu once you can find the answer,