On Tuesday, 13 March 2012 at 22:42:38 UTC, Andrej Mitrovic wrote:
I don't think this can work: alias void function(int) MyHandler;maybe: alias extern(C) void function(int) MyHandler;And there's no need to call it like this: '(*mh)(1)', call it mh(1).
I know, it's short version. Anyway, object.Error: Access Violation ---------------- 409960 4097D7 402BA8 402BE7 4027F7 413635 ----------------