Dear community,
need some info about access to ext. libs in B4J:
For example a ext.lib in .jar format calls internal some methods of a native Win .dll (with jna).
(no b4j wrapper existing).
I'am doing the following:
-Storing the lib in the ext.libs folder.
-In the B4J IDE i include the lib in the #Region Project Attributes with #AdditionalJar: thelibrary
-I'am calling some methods with a JavaObject and InitializeNewInstance, and RunMethod....and so on.
The questions are:
a)where should i store the jna.jar lib? Should i add a reference in the #AdditionalJar Section?
b)where do store the .dll?
c) does this work in general with B4J or is it impossible to access such a lib?
Thanks for advice
patent
need some info about access to ext. libs in B4J:
For example a ext.lib in .jar format calls internal some methods of a native Win .dll (with jna).
(no b4j wrapper existing).
I'am doing the following:
-Storing the lib in the ext.libs folder.
-In the B4J IDE i include the lib in the #Region Project Attributes with #AdditionalJar: thelibrary
-I'am calling some methods with a JavaObject and InitializeNewInstance, and RunMethod....and so on.
The questions are:
a)where should i store the jna.jar lib? Should i add a reference in the #AdditionalJar Section?
b)where do store the .dll?
c) does this work in general with B4J or is it impossible to access such a lib?
Thanks for advice
patent