Thread overview
can visual-d support interaction VC++?
Nov 18, 2015
Kishan Devani
Nov 20, 2015
Rainer Schuetze
Nov 28, 2015
Rainer Schuetze
November 18, 2015
if yes.
i want know how to use VC++ lib in D Lang...
November 20, 2015

On 18.11.2015 18:07, Kishan Devani wrote:
> if yes.
> i want know how to use VC++ lib in D Lang...

You can find some information on D's capabilities regarding interoperability with C++ here: http://dlang.org/cpp_interface.html

Visual D has some support to build C/C++ files within a D project, but you'll have to specify most command line options yourself.

As an alternative, you can also link to a C++ library by adding it to the "Project Dependencies" of the D project. This will guarantee correct build order and add the library automatically to the link step.
November 28, 2015

On 18.11.2015 18:07, Kishan Devani wrote:
> if yes.
> i want know how to use VC++ lib in D Lang...

I remember having answered this (or a similar question) recently, but can't find it, so here it is again:

Declarations necessary for calling C/C++ functions from D is described here: http://dlang.org/interfaceToC.html and http://dlang.org/cpp_interface.html

In Visuald D, just add the VC++ library project as a "Project Dependency" to the D project. This will add the library to the link command line of the D executable.