Dynamic loading

Steve Teale steve.teale at britseyeview.com
Tue Oct 29 05:51:27 PDT 2013


On Monday, 28 October 2013 at 20:42:00 UTC, Jacob Carlborg wrote:
> On 2013-10-28 19:00, Steve Teale wrote:
>
>> That sounds a bit implausible. New language keyword or 
>> something to load
>> a library or object file. My best guess is that extern(C) 
>> dlopen() will
>> just work correctly, failing that I'd think we need an 
>> equivalent Phobos
>> call.
>
> Sorry, I wasn't very clear. The correct function to use is 
> core.runtime.Runtime.loadLibrary:
>
> https://github.com/D-Programming-Language/druntime/blob/master/src/core/runtime.d#L178

I was forgetting the runtime library - that seems like the place 
;=)


More information about the Digitalmars-d mailing list