LF Fortran 95

-ML { bc | bd | fc | lf90 | lf95 | msvb | msvc | winapi }

Mixed Language

Compile and link. Default: -ml lf95

Specify the -ml option if your code calls or is called by code written in another language or if your code will call procedures in DLLs created by LF95. -ml affects name mangling for procedure names in DLL_IMPORT, DLL_EXPORT, and ML_EXTERNAL statements.

Use bc for Borland C++; bd for Borland Delphi; msvb for Microsoft Visual Basic; msvc for Microsoft Visual C++; fc for Fujitsu C; LF95 for LF95; LF90 for LF90; and winapi for accessing the Windows API directly.

Visual Studio Property

The -ml option corresponds to the Fortran|Mixed Language|Select Convention property. This property can be set on the property page for the project or source file.

See Also

Mixed Language Programming

Setting Build Options