Re: How to compile C++ and D code, and linking them together on Windows,I will use c++ function In D? Thanks.

2018-02-25 Thread FrankLike via Digitalmars-d-learn
On Sunday, 25 February 2018 at 15:38:31 UTC, FrankLike wrote: Hi,everyone, How to compile C++ and D code, and linking them together on Windows ? I will use c++ function In D. I use vs2010 c++ on Windows, What should I do? For example: 1. create 2 files: C++.cpp D.d 2. I get the C++.obj

How to compile C++ and D code, and linking them together on Windows, I will use c++ function In D? Thanks.

2018-02-25 Thread FrankLike via Digitalmars-d-learn
Hi,everyone, How to compile C++ and D code, and linking them together on Windows ? I will use c++ function In D. I use vs2010 c++ on Windows, What should I do? For example: 1. create 2 files: C++.cpp D.d 2. I get the C++.obj fiel by vs2010. 3. I get the D.obj by dmd -c -m32mscoff Then how