interop with other environments

Bill Baxter dnewsgroup at billbaxter.com
Thu Apr 26 17:14:45 PDT 2007


mike wrote:
> Thank you all for feedback, I'm really surprised how active and useful this mailing-list is.
> 
> Max,
> 
> you said, I could have "C functions exported by a dll compiled from D source" and I think this is actually what I'm looking for. Do you know how it could be done?
> 
> Thanks
> 
>> Using what they call P/Invoke, you should be able to access from a
>> .NET assembly any C functions exported by a dll compiled from D
>> source. If you are adventurous enough you could even try to create a
>> COM wrapper around a .NET assembly and use it from D.
> 

For DMD on Windows, this is what you want:
    http://www.digitalmars.com/d/dll.html

--bb



More information about the Digitalmars-d mailing list