I have a Compaq Visual Fortran DLL written by someone else that I call from a C++ code. Sometimes the Fortran DLL dies with a forrtl:severe error (example, reading past the end of a file). I need to catch this signal/condition/exception/whatever in my C++ code so that the dying Fortran DLL doesn't take down the C++ program as well. Any way to do that? Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.