B4R Question example for using wrapper

yaniv hanya

Active Member
Licensed User
Hello,

I need to use a wrapper that i found in one of Erel threads.

I couldn't make it work, since the B4R doesn't find the wrapper.

where can I find an explanation or example for using a c++ wrapper in the B4R?
 

Daestrum

Expert
Licensed User
Longtime User
As I understand it.

Imagine your wrapper is called 'MyWrapper'

You have an additionalLibs folder for B4R for example ArdoLibs (Tools>Configure Paths)

in this folder there will be a Folder named MyWrapper AND the xml for the wrapper MyWrapper.xml
in the folder MyWrapper there will be the .h and .c?? files of the wrapper.

1623154275718.png



Then MyWrapper should appear in the libraries tab on right of the IDE and you can use as normal
B4X:
Dim mw as MyWrapper
 
Upvote 0
Top