Call D code from C#

Radu void at space.lo
Thu Jan 9 09:23:00 PST 2014


On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote:
> Hi to all here,
>
> (another one here that wants to desperately use D in his work 
> environment!)
>
> So, I am a C# and C++ guy who is used to high quality tools and 
> UI libraries. I discovered VisualD and I settled on using it, 
> it is really awesome!
>
> The only problem that concerns me is the lack of a UI library 
> to use with the language. GTK+ is not an option for me. Qt is 
> but I do not see any way to use it from D.
>
> I am thinking about using D for the business logic of my 
> programs (let's say on Windows, for start) and then C# for the 
> UI stuff.
>
> Is there a way to access D code from C# ? Some path I need to 
> follow, some hint... ?
>
> Thanks a lot for any help !
>
> anthony

You can expose D code as COM objects and use them from C# this 
way.
http://dlang.org/dll.html#com



More information about the Digitalmars-d-announce mailing list