I'm loading a C DLL from a program written in Java. I want to be able to call one of the methods from the DLL with this declaration :
dll_function(const char* foo1, const char* foo2, const char* foo3, void** bar, size_t* bar2);
How do I call this method with arguments of correct type in Java ? I know (theorically) how to call it, but what I would like to know is how to pass the "void**" and "size_t*" from my Java program ? Basically, I want to know what the "equivalent type" for void and size_t*** is in Java...
I found the Pointer class but didn't manage to get it work ? Many thanks :)