Type marshalling to call a fortran subroutine from C#
问题 I'm trying to call a FORTRAN77 subroutine from C# code using P/invoke - in case you're interested, I'm trying to wrap some of the functionality offered by the ARPACK library (http://www.caam.rice.edu/software/ARPACK). I have 2 questions. First off, I couldn't find clear instructions anywhere regarding type marshalling in this context. More specifically, here are the types that are declared in my FORTRAN subroutine: subroutine getEigenVectors & ( Matrix, n, which, nev, ncv, maxn, maxnev,