On Monday, 29 October 2018 at 00:01:21 UTC, DanielG wrote:In my D app I'm declaring it this way: extern (C) { extern __gshared int myIntValue; int myIntFunc (int a, int b); } The function seems to link OK, but the C global will not.Should it be extern(Windows), perchance?.. (I haven't D on Windows for ages).
Nope, you use export.