Segmentation fault while creating a class object by dlsym-ed function

Jacob Carlborg doob at me.com
Wed Jul 18 02:24:24 PDT 2012


On 2012-07-18 10:17, Konstantin J. Chernov wrote:
>>> What am I doing wrong here? Is there any way to do what I'm trying to do
>>> right way?
>>
>> Dynamic libraries aren't properly supported by the runtime.
>
> That's terrible:(
>
> It's so nice to make an interface, and create classes that inherit this
> interface dynamically, without linking...
>
> Maybe there's another way?
>

No, not that I can think of for now. But it's a known problem that is 
being worked on: https://github.com/dawgfoto/druntime/tree/SharedRuntime

-- 
/Jacob Carlborg




More information about the Digitalmars-d-learn mailing list