0

I have a Dll library that contain methods for changing the state of RFID reader , So how can I import the library to be able to use these methods in java ?

2 Answers2

2

You need to USE JNA "Java Native Access" its a library which provides easy access to native shared libraries. for example check the following link https://github.com/twall/jna/blob/master/www/GettingStarted.md

Saddam Abu Ghaida
  • 6,381
  • 2
  • 22
  • 29
  • Note the blog pionts to the old location of JNA, new location is [here](https://github.com/twall/jna) which also includes a [getting started](https://github.com/twall/jna/blob/master/www/GettingStarted.md) page. – vanOekel Feb 15 '14 at 11:55
0

You need to import the dll file then use System.loadLibrary(Core.NATIVE_LIBRARY_NAME) to load the library

Joseph118
  • 505
  • 6
  • 21