Hi
I have some FORTRAN exes which I now want to convert to dlls callable from my VB .NET Code.
At present these exes take input from files on disk and their names are hard coded inside the FORTRAN code. Each program makes some output files which are then used by the subsequent FORTRAN program.
I need to convert these to dll so that each program can in fact become a subroutine. Instead of taking input from files on disk, I intend to pass the file contents as string argument and instead of saving output to disk, I intend to recieve the file contents as string output.
All the programs currently use the FORMATTED READ and WRITE statements heavily and I am thinking of using internal READ/WRITE on character variables instead of files.
The problem I foresee is in the fact that the READ internal statement remains at the beginning of the string and so the subsequent READ statements all fail.
Any advise on above ?
Thanks Abhishek