Calling .NET from D
NX via Digitalmars-d
digitalmars-d at puremagic.com
Sat Mar 26 11:16:40 PDT 2016
I used this[1] code for interfacing between C# and D once. It[2]
demonstrates how to use a function callback passed from C# code.
C# use winapi calling convention by default which caused me hours
of headache untill I figured it out. Fortunately, there is an
attribute to specify it.
[1] https://github.com/NightmareX1337/IDL/wiki
[2] https://github.com/NightmareX1337/IDL/blob/master/IDL/IDL.d
More information about the Digitalmars-d
mailing list