I am writing an application using Visual C# .NET. The application calls Visual Fortran 6.6A subroutines in a DLL.
I have been able to call test Fortran subroutines in the DLL from C#, change values in floating point and integer arrays in the subroutines and pass the new values back to C#.
I am having trouble passing string values to a Fortran subroutine. I can pass one string and access the string. I was able to use a System.Text.Stringbuilder and with some odd manipulation in C# of the returned values, I was able to change the string in a subroutine and pass the new string back to C#. But I cannot pass more than one string.
Please reply with any suggestions or hints you might have for this. Thank you.