battler.
2008-08-07 10:10:11 UTC
Hi there,
I have Fortran source code. I know nothing about it, except that it works. I have all the uncompiled (.for) files and the compiled files (.obj) with I can only assume a compiled library file (.lib). What does the .lib file contain?
Someone mentioned that you need to add "!DEC$ ATTRIBUTES DLLEXPORT ... (and something else?)" to every source code file then compile into a .dll to call it from LabVIEW. So you just add this line and that's it? How do I know what version of Fortran my source code is written in (77, 90... etc)?
Can someone please explain the process of taking this Fortran source code, compiling it into a DLL and being able to call the functions from LabVIEW.
Thanks,
Battler.
I have Fortran source code. I know nothing about it, except that it works. I have all the uncompiled (.for) files and the compiled files (.obj) with I can only assume a compiled library file (.lib). What does the .lib file contain?
Someone mentioned that you need to add "!DEC$ ATTRIBUTES DLLEXPORT ... (and something else?)" to every source code file then compile into a .dll to call it from LabVIEW. So you just add this line and that's it? How do I know what version of Fortran my source code is written in (77, 90... etc)?
Can someone please explain the process of taking this Fortran source code, compiling it into a DLL and being able to call the functions from LabVIEW.
Thanks,
Battler.