core.runtime: loadLibrary and unloadLibrary?

Rob T alanb at ucora.com
Fri Jan 11 09:45:42 PST 2013


On Friday, 11 January 2013 at 02:13:51 UTC, evilrat wrote:
> On Thursday, 10 January 2013 at 23:54:41 UTC, 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).
>>
>> 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.
>>
>> BTW, where's the portable version of dlsym? Was the omission 
>> an oversight, or left out for a reason?
>>
>> --rt
>
> a "portable" version with what we already know commented in
> http://pastebin.com/rz5xPy8W

Thanks for that! I'll make use of that for my C plugins.

--rt


More information about the Digitalmars-d mailing list