On Mon, 31 Jan 2011 21:25:11 +0000, Eelco Hoogendoorn wrote: > Do I just create a D DLL with a bunch of free extern(C) function for > communication?
Yes, why not. You can pass struts in extern(C) functions... > What about marshalling? Is using unsafe pointers back and > forth the best I can do? No. > C# can read from a pointer allocated by D in > unsafe mode, and D can read from a pinned C# pointer, right? Yes. Just an idea, but have you considered using COM. C# interoperates with it seamlessly and heard of some D projects using it. one starter link: http://www.dsource.org/projects/juno/wiki/ComProgramming
