A Fortran Windows Application (.EXE) can provide multiple windows with a full graphical interface and Win32 API functions. The general types of Fortran Windows Applications are Single Document Interface (SDI),  Multiple Document Interface (MDI), or Dialog Based Applications:

•	Single document interface (SDI) or multiple document interface (MDI) application

Creating these applications requires advanced programming expertise and knowledge of the Win32 routines API. Such applications call certain library routines (requires the statement USE DFWIN and usually USE DFLIB).

Samples are in ...\DF98\SAMPLES\ADVANCED\WIN32, such as PLATFORM or POLYDRAW.

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

•	Dialog based application

These applications use a dialog box for the application’s main window.  Creating these applications requires some knowledge of the Win32 routines API, but considerably less than for a SDI or MDI application.  These applications call certain library routines (requires the statements USE DFWIN and USE DFLOGM).

Samples are in ...\DF98\SAMPLES\DIALOG, such as THERM or MMPLAYER.

See the Building Programs and Libraries chapter and the Using Dialogs chapter in the Programmer's Guide for more information.

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 Windows applications that use either the Single Document interface, Multiple Document interface, or a Dialog Based interface.

If your application (SDI, MDI, or dialog-based) will use ActiveX controls in a dialog box, if you check the box labeled “This project will use ActiveX controls,” the AppWizard will add additional template code for supporting ActiveX controls in your dialog boxes.

To select project options that request that the project be linked against dynamic-link libraries (instead of static libraries), click the check box labeled "This project will be linking against one or more Fortran DLL Import libraries."


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 saved Fortran Windows  environment that you select (lower half).

In the List of Windows Environments box, select a saved Fortran Windows environment whose tool project settings options you want to display.

After you select the saved Fortran Windows 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 Windows 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).