I have a program that has been thoroughly debugged. The program compiles successfully, and I get the object files but when I go to build and open the executable I get an error message that it has stopped working. The details show as follows:
Description: Stopped working
Problem signature: Problem Event Name: APPCRASH Application Name: smp93.exe Application Version: 0.0.0.0 Application Timestamp: 5c9274c5 Fault Module Name: KERNELBASE.dll Fault Module Version: 6.1.7601.17514 Fault Module Timestamp: 4ce7c78c Exception Code: e0434f4d Exception Offset: 000000000000a49d OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033
Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
When I go the the MSDOS window, it says this:
Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'smp93' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Salford.Fortran.RTLibrary' threw an exception. ---> System.BadI mageFormatException: An attempt was made to load a program with an incorrect for mat. (Exception from HRESULT: 0x8007000B) at Salford.Fortran.RTLibrary.__com_plus_initialise(Int32 hin) at Salford.Fortran.RTLibrary.InitLibrary() --- End of inner exception stack trace --- at Salford.Fortran.RTLibrary.InitLibrary() at smp93..cctor() --- End of inner exception stack trace --- at smp93.SMP87()
Press RETURN to close window . . .
It worked with the older ftn77 (non windows using leahy fortran compiler) but not this one. I also noticed that the size of the executable is much smaller than it used to be (about 40% smaller)