Silverfrost Forums

Welcome to our forums

Problem Passing Attributes from C# to Compile FORTRAN Sub

2 Sep 2011 4:53 #8896

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*' [/img]

2 Sep 2011 6:06 #8901

Bill

Duplicating your posts is not helpful. It just means extra effort for those who use the forum.

Thanks

Paul

Please login to reply.