[SDL] LoadLibrary analogous function?

Guido Draheim guidod-2001q3 at gmx.de
Mon Aug 27 09:21:00 PDT 2001


Brian Sea wrote:
> 
> The Linux equivelents are:
>         dlopen(), dlclose(), dlsym().
> 
> These work on most UNIX systems.
> 
the solaris dlfcn-api was adopted widely 
and it is now part of the UNIX98 specs. 

http://www.opengroup.org/onlinepubs/7908799/xsh/dlopen.html

the call-scheme is almost identical to what you expect from
the win32 LoadLibrary / GetFunctionAdress, it is so similar a
#def-macro will usually work. Many wrappers and liboject-
loaders use it as a baseline, including the libltdl approach
from libtool that covers all platforms - including win32 and
unix platforms before unix98.

http://www.gnu.org/software/libtool/manual.html#Using%20libltdl

cheers,
-- guido                            Edel sei der Mensch, hilfreich und gut
GCS/E/S/P C++$++++ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)



More information about the SDL mailing list