I am in the process of converting some ftn77 code to .net so we can interact with a C# frontend without using file i/o.
I started by converting the 77 code to 95 by changing common block to modules, removing obsolescent features and set implicit none etc.
Everything compiles and runs fine as FTN95 Win32.
When I compile as .net I get the following TypeInitializationException:
'The type initializer for 'program name' threw an exception'.
I have tried wrapping all the main function in a try block, but it still exceptions, which leads me to believe is must be something to do with the module blocks, or an interface rather than the code in the main program itself.
Does anyone have any suggestions for what the cause is, and how to go about resolving this?
