Calling D from C++

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Jul 18 20:57:37 PDT 2011


Uhh, I tried using ASM to simulate the thiscall calling convention, it
didn't go all to well. :) A wrapper C++ DLL that exposes a C interface
was my workaround.

Here's a page that talks about some problems with passing objects via DLLs:
http://www.prowiki.org/wiki4d/wiki.cgi?BestPractices/DLL


More information about the Digitalmars-d-learn mailing list