is there a way to invoke functions in native libraries (Windows .dll’s, Linux .so’s), withouth having to write a C++ wrapper dealing with JEnv and “this” pointers?
I’m missing C#-alike functionality in this regard, where one can link with native functions easily without writing bridge libraries, leaving up to the compiler marshaling details.
Thanks,
Emilio.
You can use Java Native Access, JNA, to do exactly what you want.
Note that the usual wrapper library wouldn’t be written in C++, but in C.