I am using FTN95 to build a dll and calling from a VB .NET dll.
Whenever there is an error inside FORTRAN code, and the next time FORTRAN function is called, it shows up an error like:
a function called from within an i/o statement has itself performed i/o
The error occurs when the first internal read function is encountered.
The first error inside FORTRAN code is caught by a .NET try..catch block.
Thanks Abhishek