May 20, 2014 Re: Seg fault when calling C code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marc Schütz | On Friday, 16 May 2014 at 14:52:17 UTC, Marc Schütz wrote:
> But that's extern(C++), not extern(C)...
That should be a different name mangling, so won't link. Winapi functions are declared as extern "C" for C++ compiler.
|
Copyright © 1999-2021 by the D Language Foundation