Topic: Problem in dll accessing static library
I have written an application as a stand alone exe. The application includes a static library (.a) for some calculations. I have successfully built and ran the application and it works perfectly.
Now I am trying to convert the exe to a dll, so it can be called from a graphical interface. When I try to compile the dll project with the static library included, I get all sorts of "Undefined reference error" for the subroutines in the static library. So to check, I removed the static library (.a) from the project and replaced it with the actual source code that is part of the library. In this setup, the dll builds and works perfectly.
I am wonder why this happens? Is it not possible to include a static library (.a) in a dll project. Is it a Simply Fortran limitation or that of fortran compiler?
Thanks for your help.
skp