core.runtime: loadLibrary and unloadLibrary?

Jacob Carlborg doob at me.com
Thu Jan 10 23:46:12 PST 2013


On 2013-01-11 00:54, Rob T wrote:

> OK so these functions are not yet portable as stated in the
> documentation, and currently only work for Windows (the docs should be
> updated to state this).

Yes, please file a bug report. Either to fix the documentation or 
implement the functions for Posix. The Posix functions can be 
implemented to only work for C shared libraries.

> I'm using Linux, so that means I have to use the usual dlopen, dlclose
> and dlsym? If so, this is at least a start, and I can safely load C
> shared libs as plugins.

Yes.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list