On Saturday, July 21, 2012 23:17:16 Stuart wrote: > On Saturday, 21 July 2012 at 19:56:37 UTC, Alex Rønne Petersen > > wrote: > > Shouldn't you be using extern (Windows) ? > > Yeah. I changed it to (System) in the hope it'd try *not* > mangling the name; and didn't bother changing it back when I > discovered it didn't help. > > The language (which, let me say, is looking pretty damn good!) > really, desperately needs an "extern(C)" keyword. I mean, like, > yesterday!
http://dlang.org/interfaceToC.html http://dlang.org/cpp_interface.html http://dlang.org/htomodule.html - Jonathan M Davis
