- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'v got an error when I execute my program "Forrtl: severe (38): error during write, unit -1, file CONOUT$..."
I created a C# program (VS2005) which it call a Fortran DLL (IVF 11.1.0.51)
The DLL fortran is a industrial process model and i must just compile it to create my DLL (no modification on code).
I see http://software.intel.com/en-us/articles/cannot-write-to-window-created-with-allocconsole/ this post but i'm on 11.1.051...
Could you help me ?
DT
I'v got an error when I execute my program "Forrtl: severe (38): error during write, unit -1, file CONOUT$..."
I created a C# program (VS2005) which it call a Fortran DLL (IVF 11.1.0.51)
The DLL fortran is a industrial process model and i must just compile it to create my DLL (no modification on code).
I see http://software.intel.com/en-us/articles/cannot-write-to-window-created-with-allocconsole/ this post but i'm on 11.1.051...
Could you help me ?
DT
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does your C# application create a console window? If not, the error is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
Does your C# application create a console window? If not, the error is correct.
no it doesn' create a console windows (DLL Fotran was called by winform program). I discuss with creator's Fortran model and he delete "write (*," instruction.
thk a lot
DT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - babe59
no it doesn' create a console windows (DLL Fotran was called by winform program). I discuss with creator's Fortran model and he delete "write (*," instruction.
thk a lot
DT
A solution can be to change all write(*, to write(9999, and open file 9999 at initialization in function of needs as :
"nul" (no output)
a trace file (keep activity in, a file)
"con" (console)

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