How to return object or class from functions using Java Native Interface
Hellow to all,
I have a java application which calls c++ dll functions using Java Native Interface.
When i call from my java application to a void function from the c++ dll everything works ok, my question is how can i use Java Native Interface for functions that return object or class (functions that are not void).
How can the java application know my c++ dll object or class which should be returned from the function???