how to use .dll files in java code?

后端 未结 3 1293
旧时难觅i
旧时难觅i 2021-01-24 10:29

I have a .dll file, which i have to use in java. This .dll file has a parameterised method, which should return type as string. When i am passing parameter to it, i get the mes

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-24 11:23

    Try having a look at JNA, it provides a nice wrapper layer around native code.

    https://github.com/twall/jna

提交回复
热议问题