Say I have a C++ DLL with a single exported method such as:
CustomerProcessor* getInstance();
i.e. it simply returns an instance of the class that actually contains the methods I need to call.
I know I can map the getInstance() method to a Class in Java using JNA (extending com.sun.jna.Library), store the returned CustomerProcessor instance in a com.sun.jna.Pointer.
Can I then somehow map this to the CustomerProcessor class so that I can call methods upon it (and if so, how)?