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

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -