- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to trap unforseen errors in my application and have found the SIGNAL function. I note however that it appears only deals with seven of the possible 34 errors listed in:
I wonder, if for completeness, I have to write the C routine (op cit) in order to catch all possible errors?
Thanks, ACAR
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have that information handy. You might try some web searches for info on using Windows structured exception handling (SEH). The error numbers are documented in the MSDN Library
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That paper is Linux-specific and does not apply to Windows.
If you want to catch all signaled errors, you will have to write a C wrapper that establishes a handler block and then calls the Fortran code.
Note that I/O errors are not signaled and cannot be handled.
If you want to catch all signaled errors, you will have to write a C wrapper that establishes a handler block and then calls the Fortran code.
Note that I/O errors are not signaled and cannot be handled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for that Steve. I wonder if you have any references to such a C wrapper for handling Windows signalled errors that might give me a pointer to how to write this routine and what the signal numbers mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have that information handy. You might try some web searches for info on using Windows structured exception handling (SEH). The error numbers are documented in the MSDN Library

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