By the way, if you're trying to call C++ code from D, it has to be extern "C" functions. C++ symbols are mangled differently than D or C symbols.