digitalmars.D.ide - can visual-d support interaction VC++?
- Kishan Devani (2/2) Nov 18 2015 if yes.
- Rainer Schuetze (8/10) Nov 20 2015 You can find some information on D's capabilities regarding
- Rainer Schuetze (9/11) Nov 28 2015 I remember having answered this (or a similar question) recently, but
if yes. i want know how to use VC++ lib in D Lang...
Nov 18 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.
Nov 20 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.
Nov 28 2015