- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried to enclose the Fortran call with try { } catch { } in your C++ code? If you have, what happened?
Do you have control over the Fortran source?
Regards,
Greg Chien
http://protodesign-inc.com
Do you have control over the Fortran source?
Regards,
Greg Chien
http://protodesign-inc.com

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page