P/Invoke

Apr 27, 2010 at 10:06 AM
Generally, all it's about the known P/Invoke call feature of .NET platform. .NET currently supports many programming languages, not the last of them is C++ - the only language which supports programming both managed code and a native one. I wonder if D.NET has such capability - it actually does have a native compiler, so can I just call native D code from the managed one as easily as I can do it with C++? I think that having another native language in .NET stack is good choice even for those who use C# as their current managed one - they would possibly call unmanaged D code from the C# one if there were such possibility. Yours, Volodymyr
Nov 8, 2011 at 5:04 PM

Seems noone is interested in this topic yet((

Nov 24, 2011 at 1:42 PM

You should be able to call C++ from D.NET afaik. As of calling native D methods compiled using DMD, things can be harder (especially considering name mangling and memory management), but please try.