Reputation: 557
The question is whether can I create an instance of class (which is situated in .dll and has written in Delphi) and call method from it using Java.
I have found a lot of solutions about how to call native routines or methods in Java. What about classes?
Upvotes: 1
Views: 412
Reputation: 17359
One of the easiest is using JNA project. You'd have to create a set of functions in your DLL which could be called. Alternatively you can create a wrapper DLL if original cannot be changed
Upvotes: 1