why do i need an extern(C): here?
Ali Çehreli
acehreli at yahoo.com
Thu Oct 15 21:42:47 UTC 2020
On 10/15/20 2:29 PM, WhatMeWorry wrote:
> name wrangling?
Name mangling. :) I don't know the answer but I can hijack your thread.
> import core.runtime;
> auto mydll = Runtime.loadLibrary("mydll.dll");
Interesting. I've recently done the same by calling dlopen() and dlsym()
directly. Runtime.loadLibrary documentation says "If the library
contains a D runtime it will be integrated with the current runtime."
That would explain why my program seg-faults for my first tester with
the garbage collector signatures in the function call stack. Right?
Thanks! :)
Ali
More information about the Digitalmars-d-learn
mailing list