Fortran DLL and D

Michael pr at m1xa.com
Tue Mar 13 15:59:10 PDT 2012


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
----------------




More information about the Digitalmars-d mailing list