What is the lib for? A or J?...
If A, you need to purchase a license for A.
If J, go for it... it is all free.
To wrap either, that's up to you. I have never wrapped anything except xmas gifts - and quite badly I admit.
So code fragments would be even worse...
Others may chime in shortly with more constructive answers.
Either way, BUY B4A (or i). It is cheap and you can and will use it... Join the community.
Thanks