Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

File closed when calling a routine in another DLL

ferrad
New User
458 Views
I have2 DLL's. I open a file for writing in the first DLL, and happily write to it. Then I call a second DLL (which may well use the same unit number for writing it's own stuff), I do an inquire on this unit when I return to my DLL and the file is closed. Why? I thought each DLL had its own list of unit numbers.
Adrian
0 Kudos
1 Reply
ferrad
New User
458 Views
Ignore this, I had the wrong RTL linked in...
0 Kudos
Reply