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.