Using external libraries / functions question

Just starting out? Need help? Post your questions and find answers here.
agb2008
Posts: 3
Joined: Wed May 18, 2016 11:59 am

Using external libraries / functions question

Post by agb2008 »

I am new to SpiderBasic and would like to port my PureBasic application. In it I am using external library function
available as .dll (for Windows platform) and .so (for Linux). I also got this function available in Java (used previously
in application developed using B4J) Is there a way to somehow use external function from SpiderBasic application.
If not - could you please advice if there are some work around that I could use ?
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Using external libraries / functions question

Post by Fred »

Unfortunately, you can't access any DLL or external binary program client side. On standard way to do it, is to write a CGI in PureBasic, using your DLL and do remote call from your SB app. Or may be you can find a pure Javascript equivalent ?
agb2008
Posts: 3
Joined: Wed May 18, 2016 11:59 am

Re: Using external libraries / functions question

Post by agb2008 »

Thank you for reply Fred,

I found javascript version of library that I would like to use in SpiderBasic project - could you please advice how I could do so ?
What's the way of using functions from external javascript library in SpiderBasic ? Could you please point to any example of
such implementation ?
Post Reply