How to use PBSoImporter?

Everything else that doesn't fall into one of the other PB categories.
swhite
Enthusiast
Enthusiast
Posts: 727
Joined: Thu May 21, 2009 6:56 pm

How to use PBSoImporter?

Post by swhite »

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
swhite
Enthusiast
Enthusiast
Posts: 727
Joined: Thu May 21, 2009 6:56 pm

Re: How to use PBSoImporter?

Post by swhite »

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
Post Reply