- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a rather sour experience last night and I'm hoping that I misread the implications.
Obviously, if you open a file anywhere in a program linked as a single .exe, the unit number assigned to that file may be used anywhere in the program. Can the same thing be said if you split that program into a bunch of DLLs?
Bruce
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, if.... If you make sure that the DLLs and your EXE are all linked to the DLL form of the run-time libraries. This is the default when you create a DLL project but you have to ask for it when creating an executable project. In the project properties, select Fortran..Libraries and set "Use run-time library" to "DLL" or "Multithreaded DLL" - make sure that it matches the same setting as your DLL project(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve:
I did indeed have a problem, which was fixed by following your directions. Thanks yet again.
Bruce

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