Hello All,
I am either luck or its not really that hard - I have my code working (for now)!
I simply left the code as-is (without adding DLLEXPORT or !GCC$ attribute).
I compliled using:
gfortran -shared -o example.dll example.f
***I found that while gfortran would compile and run an .exe...
Hello All,
I know this is not really a new topic - but I'm new to Fortran and lost in the bits and pieces I've found regarding the creation of a DLL usable from another program (for example LabVIEW, Visual Basic, C, etc).
For myself, I plan to use LabVIEW to call some existing Fortran code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.