Joined: 31 Aug 2011
|Posted: Fri Sep 02, 2011 5:55 am Post subject: Problems Passing Attributes from C# to FORTRAN Sub
|I am having a very difficult time passing attributes from a Visual Studio C# function into a compile FORTRAN Subroutine. I can't seemed to figure out the attribute declarations.
Here's the main error message,
Error 4 The best overloaded method match for 'NIST_Fluid_Props.SETUP(int*, Salford.Fortran.Character*, Salford.Fortran.Character*, Salford.Fortran.Character*, int*, Salford.Fortran.Character*, int, int, int, int)' has some invalid arguments
It is telling me some invalid arguments....but not which ones.
Here are the remaining errors:
Error 5 Argument 1: cannot convert from 'int' to 'int*'
Error 7 Argument 3: cannot convert from 'string' to 'Salford.Fortran.Character*'
Error 8 Argument 4: cannot convert from 'char' to 'Salford.Fortran.Character*'