Calling a C++ Object from D

Dejan Lekic dejan.lekic at gmail.com
Tue Jan 24 04:45:29 PST 2012


Unfortunately, you cant use C++ namespaces. More about 
interfacing to C++ here: http://www.dlang.org/cpp_interface.html .

The easiest way to solve this is to write a C function that will 
glue your code with the C++ library.


More information about the Digitalmars-d-learn mailing list