DllLoad
DllLoad — loads dynamic libraries.
DllLoad ("filename", verbose? = nil)
filenameThe name of the dynamic library to be loaded.
verboseWhen set to t, shows the paths of load
attempts.
An integer "handle" on success, or an error message.
This function loads a DLL if the system supports it (Linux, QNX 6, and
MS-Windows). The first search path for the DLL is taken to be
./, next is /usr/cogent/dll/,
and finally the system DLL search path, if any.
Without using the optional verbose
parameter:
Gamma>DllLoad("gammagtk.so");135024608Gamma>
Using the optional verbose parameter:
Gamma>DllLoad("gammagtk.so", t);DllLoad: attempting to load: ./gammagtk.so DllLoad: attempting to load: /usr/cogent/dll/gammagtk.so 135024608Gamma>