Loading a shared object/library into BBCSDL (Linux)

Here you can talk about anything related to BBC BASIC, not covered in another category
David Williams
Posts: 115
Joined: Wed 04 Jul 2018, 16:23

Loading a shared object/library into BBCSDL (Linux)

Post by David Williams »

...and accessing its functions.

Dynamic shared objects (.so files) are the Linux equivalent of DLLs on the Windows platform.

Does anyone know how to load them into BBCSDL (Linux), and to access the functions contained therein?


Regards,
David.
--

http://www.proggies.uk/

DDRM
Posts: 169
Joined: Mon 02 Apr 2018, 18:04

Re: Loading a shared object/library into BBCSDL (Linux)

Post by DDRM »

Hi David,

Richard suggests that SDL_LoadObject should do it?

https://wiki.libsdl.org/SDL_LoadObject

Best wishes,

D

David Williams
Posts: 115
Joined: Wed 04 Jul 2018, 16:23

Re: Loading a shared object/library into BBCSDL (Linux)

Post by David Williams »

Hmm, another case of RTFM, I guess! :D

My gratitude to Richard as always, and to you David.


David.
--