digitalmars.D - How to use C++ static library in d
- Hima (3/3) May 10 2009 Hello everyone. I'm wondering is there a way to use a C++ static library...
- Walter Bright (4/7) May 10 2009 D 2.0 can interface directly with C++ free functions and single
Hello everyone. I'm wondering is there a way to use a C++ static library in D? I only have the .h and .lib files of the library, but not .dll or .cpp Thank you in advance :)
May 10 2009
Hima wrote:Hello everyone. I'm wondering is there a way to use a C++ static library in D? I only have the .h and .lib files of the library, but not .dll or .cppD 2.0 can interface directly with C++ free functions and single inheritance hierarchies. If you need to go further than that, the way is to create a C wrapper for the C++ code, then D can call the C wrapper.
May 10 2009