Seg fault when calling C code

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 20 03:18:37 PDT 2014


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.


More information about the Digitalmars-d-learn mailing list