I used to use NETLink to call FORTRAN functions or subroutines compiled into a dll file. This works very well until now that I want to call a function which has complex arguments and returns a complex number.
I checked the NETLink user guide. It says that the .NET complex type is controlled by the user, and gives an example in c#. Does anybody know how this can be realized for FORTRAN? I am looking forward to great answers and suggestions.