This section describes the binding from Silverfrost FTN95 compilers to the
Microsoft Windows Applications Programming Interface (API). It also describes
the Silverfrost ClearWin+ library. ClearWin+ offers an easy-to-use interface to the
Windows API making rapid development of GUI possible in Fortran.
ClearWin+ is used together with a Silverfrost Win32 compiler in order to develop
Windows applications that will run under the Windows XP/Vista/7/2003/2008 family of operating systems.
This guide describes how to write these Win32 applications.
The ClearWin+ library is located in a DLL called salflibc.dll. This DLL
will only run on a Win32 platform. If you are developing
an executable with the potential for multi-platform use then you must
not use ClearWin+ except perhaps as a development/debugging tool. The release
version of a multi-platform executable should not use ClearWin+. The
alternative to ClearWin+ is to use a C# or Visual Basic form (see
A simple C# form).
The guide does not try to describe or to document the Windows API, which is a
subject too extensive to be covered here. Full documentation of the Windows API
is provided with the Microsoft Windows Software Development Kit (SDK).
When installed, FTN95 includes some example programs that illustrate some of the more
common operations that developers will need in order to produce Windows
Enhancements to ClearWin+ that have been added after the preparation of this
guide are described in a README and .ENH enhancement files on the CD and also
in the BROWSE example program.
FTN95, Salford C++, and ClearWin+ are trademarks of Silverfrost Ltd.
MS-DOS, Visual Basic, and Windows are all trademarks of Microsoft