Compaq Computer Corporation
Compaq Visual Fortran
Installing and Getting Started
Order Number: AA-R2PYF-TH
August 2001
This guide describes how to install Compaq Visual Fortran (formerly DIGITAL
Visual Fortran), provides overview information about it, and shows how to use it
with the Microsoft Visual C++ development environment (also known as
Microsoft Developer Studio).
Revision/Update Information: This revised document supersedes the
Versio n 6.5 Compaq Visual Fortran Installing
and Getting Started.
Operating System: Microsoft Windows 2000, Windows NT Version
4, Windows Me, Windows 98, or Windows 95
Software Version: Compaq Visual Fortran Version 6.6
(or subsequent minor releases), all editions
First Printing, April 1997
Revision, August 1997
Revision, September 1998
Revision, September 1999
Revision, September 2000
Revision, August 2001
© 2001 Compaq Computer Corporation
Compaq, the Compaq logo, Alpha, Tru64, and VAX are trademarks of Compaq Information Technologies Group, L.P.
ActiveX, Microsoft, Developer Studio, FoxPro, SourceSafe, Visual Basic, Visual C++, Visual J++, Visual SourceSafe,
Visual Studio, Win32, Windows, and Windows NT are trademarks of Microsoft Corporation.
Intel, KAP, and Pentium are trademarks of Intel Corporation.
UNIX is a trademark of The Open Group.
All other product names mentioned herein may be trademarks of their respective companies.
Confidential computer software. Valid license from Compaq required for possession, use or copying. Consistent with
FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for
Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license.
Compaq shall not be liable for technical or editorial errors or omissions contained herein. The information in this docu-
ment is provided ‘as is’ without warranty of any kind and is subject to change without notice. The warranties for Compaq
products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be
construed as constituting an additional warranty.
.
iii
Read Me First ix
Chapter 1 Summary of Visual Fortran Software Components and Packaging 1-1
1.1 VisualFortranSoftwareComponents .........................................1-1
1.1.1 ComponentsinAllThreeEditions.......................................1-1
1.1.2 Additional Components in the Professional and Enterprise Editions . ............1-2
1.1.3 Additional Components in the Enterprise Edition............................1-3
1.1.4 ComponentsinTableFormat...........................................1-3
1.2 VisualFortranPackaging...................................................1-4
1.2.1 CD–ROMs for Standard Edition . ........................................1-4
1.2.2 CD–ROMsforProfessionalEdition......................................1-5
1.2.3 CD–ROMsforEnterpriseEdition........................................1-5
Chapter 2 Prerequisites for Installing Visual Fortran 2-1
2.1 System Requirements for the Three Editions ...................................2-1
2.2 ReleaseNotes...........................................................2-3
2.3 RegistrationNumber......................................................2-3
2.4 OptionalSoftware ........................................................2-4
2.5 ConsiderationsforInstallingwithVisualStudioProducts ..........................2-4
2.6 ConsiderationsforInstallingwithVisualFortranVersion5.........................2-6
2.7 ConsiderationsforInstallingwithVisualFortranVersion6.0,6.1,or6.5...............2-6
2.8 Multiple-UserLicenseConsiderations.........................................2-7
2.9 Concurrent-UseLicenseConsiderations.......................................2-8
Chapter 3 How to Install Visual Fortran 3-1
3.1 StartingtheInstallation.....................................................3-1
3.2 ActivatingtheVisualFortranMasterSetupWindow..............................3-2
3.3 Using the Visual Fortran Master Setup Window .................................3-3
3.4 InstallingVisualFortran....................................................3-4
3.4.1 HowtoDisplaytheSetupInstallTypeDialogBox...........................3-4
3.4.2 SpecifyingInstallationOptionsandDestinationDirectories....................3-6
3.4.3 InstallingServicePack3(WindowsNTSystemsOnly).......................3-9
3.4.4 InstallingInternetExplorer............................................3-10
3.5 Installing Array Viewer (Standard Edition) . . . ..................................3-10
3.6 Installing Array Visualizer (Professional and Enterprise Editions) . . .................3-12
3.7 Installing Enterprise Toolkit and TPE Components (Enterprise Edition) . . . ...........3-14
3.8 RegisteringVisualFortranWithCompaq......................................3-15
3.9 RunningVisualFortranAllorPartiallyfromCD–ROM ...........................3-15
3.10 VisualFortranProgramFolderContents......................................3-16
3.10.1 ArrayVisualizerProgramFolderContents................................3-18
3.11 AfterInstallation:Must-DoTask.............................................3-18
Chapter 4 Postinstallation Tasks 4-1
4.1 ApplyingtheVisualFortranPer-UserSetupOption ..............................4-1
Contents
iv
4.2 Specifying the COM Server Wizard as a Developer Studio Add-in (Professional and Enterprise Editions
Only) 4-2
4.3 PerformingCompilationswithaConcurrent-UseLicense..........................4-2
4.4 CopyingVisualFortranProjectFiles..........................................4-3
4.5 ChangingInstallationOptionsorReinstallingVisualFortran........................4-3
4.6 SettingUpVisualFortranOnlineDocumentation ................................4-4
4.7 RedistributingVisualFortranFiles............................................4-4
4.7.1 WhichFilesMightNeedtobeRedistributed? ..............................4-4
4.7.2 UsingtheRun-TimeRedistributablesKittoRedistributeFiles..................4-5
4.7.2.1 ArrayViewerRun-TimeRedistributablesPackage........................4-6
4.7.3 FilesintheRedistributionFolders.......................................4-6
4.7.3.1 RedistributionFilesforArrayVisualizerApplications ......................4-7
4.7.4 RedistributingDynamic-LinkLibraries(DLLs)..............................4-7
4.7.5 RedistributingFilesbyHand ...........................................4-8
4.8 IncreasingtheStackSizeforProgramsThatUseLargeDataArrays.................4-9
4.9 InstallingVisualFortranServiceUpdateKits....................................4-9
4.10 RemovingVisualFortranVersion6(6.0,6.1,6.5,6.5A,or6.6) .....................4-9
4.11 RemovingVisualFortranVersion5..........................................4-10
4.12 RemovingInternetExplorer................................................4-12
4.13 RemovingArrayVisualizer.................................................4-12
4.14 CheckingforandRemovingOldEnvironmentVariableDefinitions..................4-13
4.14.1 Removing Environment Variable Definitions on Windows 98 and Windows 95 Systems4-13
4.14.2 Removing Environment Variable Definitions on Windows 2000 and Windows NT 4 Systems4-13
4.14.3 Removing Environment Variable Definitions on Windows Me Systems..........4-14
4.15 UpdatingIncludeandLibraryPathsAfterInstallingVisualC++ ....................4-15
4.16 Installingf90SQL-lite.....................................................4-15
Chapter 5 Using a Concurrent-Use License 5-1
5.1 What is the License Manager? ..............................................5-1
5.2 Installing the License Manager ..............................................5-2
5.3 ObtainingtheLicenseKeyFile ..............................................5-2
5.4 ConfiguringtheLicenseManager............................................5-3
5.5 RunningVisualFortranfortheFirstTime ......................................5-5
5.6 How the License Manager Works ............................................5-6
Chapter 6 Using Visual Fortran 6-1
6.1 WhatistheVisualDevelopmentEnvironment?..................................6-2
6.2 HowtoStarttheVisualDevelopmentEnvironment...............................6-3
6.3 VisualFortranProjects.....................................................6-3
6.4 VisualDevelopmentEnvironmentWindows ....................................6-4
6.4.1 Floating Windows and Docking Windows .................................6-6
6.5 GettingOnlineHelp.......................................................6-6
6.6 ProjectConfigurationsandSettings...........................................6-7
6.7 HowtoBuildanExistingVisualFortranProject(Celsius)..........................6-7
6.8 HowtoEditaSourceFile ..................................................6-8
6.9 HowtoDebugaSourceFile ................................................6-9
6.10 HowtoCreateaNewProjectBasedonExistingSourceFiles.....................6-13
6.10.1 HowtoAddFilestoaProject..........................................6-15
6.11 CustomizingtheVisualDevelopmentEnvironment..............................6-15
v
6.12 UsingtheTextEditor.....................................................6-16
6.13 UsingtheSourceBrowser.................................................6-17
6.14 UsingtheResourceEditors................................................6-18
6.15 Using the Debugger......................................................6-19
Chapter 7 Product Highlights 7-1
7.1 UsingtheSamplePrograms................................................7-1
7.2 Compaq Fortran Language . . . ..............................................7-3
7.3 UsingtheCommand-LineInterface...........................................7-4
7.4 Using Compaq Extended Math Library (CXML)..................................7-4
7.5 Mixed-Language Programming Support with Visual C++ and Visual Basic ............7-6
7.6 ViewingOnlineDocumentationintheHTMLHelpViewer..........................7-7
7.7 UsingtheArrayVisualizer..................................................7-7
7.7.1 ArrayViewer........................................................7-8
7.7.2 AviewRoutinesLibrary................................................7-8
7.7.3 Avis2DandAvisGridActiveX(OCX)Controls..............................7-9
7.7.4 EnhancementstotheVisualDevelopmentEnvironment......................7-9
7.7.5 ArrayVisualizerSamples..............................................7-9
7.7.6 InstallingArrayVisualizer..............................................7-9
7.7.7 StartingArrayViewer.................................................7-9
7.7.8 Information about Array Visualizer......................................7-10
7.8 Using the IMSL Libraries (Professional and Enterprise Editions) . . .................7-10
7.9 Usingf90SQL-lite........................................................7-11
7.10 Using Enterprise Toolkit and Technical Programming Extensions (Enterprise Edition) . . . 7-12
7.11 SupportforCOMandAutomationObjects:FortranModuleWizard.................7-12
7.12 Support for Creating COM Servers (Professional and Enterprise Editions) ...........7-13
7.13 InterfaceDefinitionsforRoutines............................................7-13
7.13.1 VisualFortranandArrayVisualizerLibraryRoutines........................7-13
7.13.2 CXMLandIMSLRoutines............................................7-14
7.13.3 Win32PlatformSDKRoutines.........................................7-14
Chapter 8 Documentation Road Map: Where to Find What You Need 8-1
8.1 Printed(Hardcopy)Documentation...........................................8-1
8.1.1 CompaqFortranOnlineBookstore.......................................8-2
8.2 DocumentationAvailableinHTMLHelpViewerFormat...........................8-2
8.2.1 Programmer'sGuide .................................................8-3
8.2.2 Language Reference . . . ..............................................8-4
8.2.3 ErrorMessages.....................................................8-5
8.2.4 VisualC++User'sGuide(forVisualFortran)...............................8-5
8.2.5 CompaqArrayVisualizerDocumentation .................................8-5
8.2.6 PlatformSDKandSDKDocumentation...................................8-5
8.2.7 AdditionalHTMLHelpfortheEnterpriseEdition............................8-5
8.3 DocumentationAvailableinHTMLFormat .....................................8-6
8.4 DocumentationAvailableinPDFFormat.......................................8-6
8.4.1 ViewingPDFFiles...................................................8-7
8.4.2 LocationofInstallingandGettingStartedPDFFile..........................8-7
8.4.3 LocationofCXMLPDFFile............................................8-7
8.4.4 LocationofIMSLPDFFiles............................................8-7
8.4.5 LocationofFLEXlmPDFFile...........................................8-8