JNI with Mac OSX Library
928928Apr 6 2012 — edited Apr 10 2012
I am looking for some guidance with regards to JNI on MAC.
Basically I have a scanner driver library (libopn_driver.dylib) and I have a .h file for this library written in C.
If I want to use it with Java, would I need to write my own .h file that Java can understand?
How should I go around this?
Note: I am currently using JNA but part of the code is not working and I think there is an issue with pointers.
Any ideas would be appreciated.