- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Occasionally I am receiving an application error: "forrtl: severe (38): error during write, unit -1, file conout$". This occurs when issuing a print statement in the application, and then the application shutsdown. Is there a way to trap this error and allow the program to continue? I would prefer not to have to use the write command.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm going to guess that your code is not running from a console application, but perhaps is in a DLL called from VB or something like that. In this case, there is no console and you'll get an error if you try to write to it.
If this is not the case, please supply more detail - does the code successfully PRINT at other places?
Steve
If this is not the case, please supply more detail - does the code successfully PRINT at other places?
Steve

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