Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
Visual C/C++ Project Integration
Visual D 0.44 introduced integration with Visual C/C++ projects. This means that you can just add your D files into any C/C++ project and it will be compiled and linked with everything else in the project.
The project properties are extended with a "D Compiler" section:

The General page allows you to select between DMD and LDC as the D compiler to be used by the current configuration.

A couple of things to note:
- Only COFF files are generated, there is no support for OMF files that DMD generates for Win32 by default.
- Selecting the C runtime library is supported starting with DMD 2.073
- The D project templates include a console application template based on a VC project, but just containing a D file.
Copyright © 1999-2026 by the D Language Foundation | Page generated by
Ddoc on Tue Sep 1 20:57:37 2026