I have a function in a Fortran executable and I need to make it a dll file so I can call it's functions from a C# program
FUNCTION TSAT11(P)
C ** IGNORE IMPLEMENTATION **
TSAT11 = SX*TSAT2(X) + SXL1*TSAT3-273.15
RETURN
END
P is a float and the function returns a float
The thing here that I don't know anything in fortran nor calling dlls from C#, so please explain a little more.
I'm using Compaq Visual Fortran and C# 2008.
Thank you for your time.
(If you like you can see the full code Here [It's a program to calculate water and steam properties])