The TEMP sample demonstrates using the Intel® Visual Fortran dialog support to add a modal dialog, one that suspends program execution until the dialog is dismissed, into a console application. Using the procedures in module IFDLG and the Visual Studio Resource Editor, you can add modal and modeless dialogs to any application without needing to structure the code as a Windowing application.

When the program runs, a simple dialog box is presented that shows a temperature number in Farenheit and its equivalent Celsius value. You can type numbers into either box to calculate the other, or use the slider control to adjust the values.

For more information about using dialog boxes, see Using Intel Visual Fortran to Create and Build Windows-Based Applications

A Visual Studio solution to build the application is provided in the Msvs folder. A command-line build script build.bat is also provided.

If you have trouble building this project, make sure that the following folders, or their equivalents, are listed under Tools > Options > Intel Compilers and Tools > Visual Fortran> Compilers> Includes:

If on running the program you see an error that "IFDLGnnn is not registered":