LF Fortran 95

DLL Support

With LF95 you can create 32-bit DLLs for use with the language systems in the table below. Console I/O in the Fortran code is not recommended in Windows GUI applications, but just about everything else that is supported under Windows will work. Calls can be made from Fortran to Fortran, from Fortran to another language, and from another language to Fortran. Note that issuing a STOP statement from within a Fortran DLL will cause the entire program to terminate. If you are calling DLL procedures from a language system other than LF95, please refer to that language system's DLL documentation for more information.

LF Fortran 95 supports DLL calling conventions for the following languages systems:

 

Compiler Support for Lahey DLLs

Language System

Version

Lahey/Fujitsu LF95

5.0 and later

Lahey LF90

2.01 and later

Borland C++

5.0 and later

Borland Delphi

2.0 and later

Microsoft Visual C++

2.0 and later

Microsoft Visual Basic

4.0 and later