soccer jersey forums.silverfrost.com :: View topic - Problems Passing Attributes from C# to FORTRAN Sub
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems Passing Attributes from C# to FORTRAN Sub

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
BillJohnson



Joined: 31 Aug 2011
Posts: 30
Location: Connecticut

PostPosted: Fri Sep 02, 2011 5:55 am    Post subject: Problems Passing Attributes from C# to FORTRAN Sub Reply with quote

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*'
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group