JNA
example #
1. 导入需要的依赖包 #
2. 编写代码 #
The following program loads the local C standard library implementation and uses it to call the printf function.Note: The following code is portable and works the same on Windows and POSIX (Linux / Unix / macOS) platforms.
3. 编译 #
4. 运行 #
5. 记录 #
Reference #
- https://en.wikipedia.org/wiki/Java_Native_Access
- https://github.com/java-native-access/jna
- https://github.com/mski/JNA-example
- https://dreammind.hatenadiary.org/entry/20091225/1261690796
- https://blog.csdn.net/zhan107876/article/details/121051129
- https://cloud.tencent.com/developer/article/1433681
comments powered by Disqus