It is currently Fri Jan 22, 2021 4:22 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to use PBSoImporter?
PostPosted: Mon Sep 30, 2019 7:19 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 598
Hi
I have an external Linux shared object that I want to use in PureBasic. So I followed the instructions and created an SO definition file called vpe.pbl and then used the pbsoimporter and selected the vpe.pbl. When the pbsoimporter finished it had created a vpe.imp file in the purebasic/purelibraries/linux/ folder.

Now I want to use this shared object in a PureBasic application but I am not sure how this is done. Can someone explain how to use the imported so?

Thanks,
Simon

_________________
Simon White
dCipher Computing


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use PBSoImporter?
PostPosted: Mon Sep 30, 2019 7:50 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 598
Hi

When I try to use a function in the shared library I get a compiler error saying:

Line 1: VpeGetVersion_() is not a function, array, list, map or macro.

Simon

_________________
Simon White
dCipher Computing


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye