
Making DLL's with MS F5.1
Quote:
> Hi all
> I am batteling in making DLL files using MS Fortran 5.1. I hope someone can
> help.
> I can create the DLL but I now want to call a subroutine in one DLL file from
> another DLL file. How do I do that.
> In one of my DLL files I open an ascii file and read in data. I do make sure
> that I close this file, but when I call my DLL the program complains that
> there are too many file opened and the program then terminates. How can I
> remedy this?
> Thanks
> Antonie
I've sort of done this - I have a MSF 5.1 DLL which calls another DLL, but
the second DLL is not written in Fortran. I do open and close files in the
Fortran DLL and haven't had problems in the other DLL. Are there any other
open files in your first DLL when you call the second? - this has caused me
problems. Can you call the second DLL if you don't open your data file in
the first DLL?
If you're interested, I'll look out the compiler flags and .def options I
use for my DLL in case that makes a difference.
Catherine.
--
Polyhedron Software Ltd.
Programs for Programmers - QA, Compilers, Graphics
************ Visit our Web site on http://www.polyhedron.co.uk/ ************