c++ - How to access a method from a class defined in .DLL file from JAVA program? -
i have dll file has class defined 'handler' in turn contains method call getproperty(string,string).
how can access such method java program??
** see lot of examples on net allows invocation of global function defined inside dll, don't see examples can invoke method on native object.
as mentioned in comments jni looking for, not able use "native" class/objects on java side.
you'll need add "native c" bridge layer pure c
api, wrap c++
interface , translate calls dll, because such api can used on java side via jni.
Comments
Post a Comment