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
Thank you for your replies!
I've found a working solution - all I needed is to change wstring
to const wstring, and pass it not as func(something), but as
wstring tmp = something; func(tmp);
That's really odd, because I don't understand, how those changes
made segfault disappear.
Here's
Hello. When I'm trying to create a class object by using a
dlsym-ed function, I'm getting a segmentation fault after
execution of program.
However, if I'm deleting that object before 'return 0' in main
(by using 'delete b'), everything is going fine.
I'm just started to learn D after using