A Fortran Dynamic-Link Library creates a dynamic-link library (.DLL) of library routines that are associated with the main .EXE during execution.

You can select whether the new project being created will not have a source file or will have a template-like source file that contains statements typically used by Fortran Dynamic-Link Library applications to export symbols.

See the Building Programs and Libraries chapter and the Creating Fortran DLLs chapter in the Programmer's Guide for more information.


The Fortran Environment dialog box lets you view the Visual Fortran default compiler settings (upper half) as well as the compiler and linker settings for each Fortran Dynamic-Link Library environment that you select (lower half).

In the List of Fortran DLL Environments box, select a saved Fortran Dynamic-Link Library environment whose tool project settings options you want to display.

After you select the saved Fortran Dynamic-Link Library environment that will be the basis for the new project, click the Apply button. Or, you can click Cancel to not use a saved Fortran Dynamic-Link Library environment.

After your project is created, you can display the project settings dialog box by opening the project workspace and click the Settings option from the Project menu. Project settings allow you to view and change the compiler options (Fortran tab), as well as options for other tools (Debug tab, Link tab, and so on).