Notes on using GenScn/WinHSPF/WDMUtil source package Source release 19 September 2002 ftp://hspf.com/GenScn/GenScnWinHSPFSource2.1.zip The package GenScnWinHSPF2.1.exe must be installed to provide all needed libraries before opening any files in the source package. All of the source code in this package was created and compiled using Visual Basic version 6, service pack 5. Warning: Please contact Aqua Terra Consultants if you plan to build and distribute any of the components in this package so we can coordinate binary compatibility. Without such coordination, existing software stops working when new incompatabile components are installed. GenScnWinHSPFSource2.1.zip contains one directory "Source" which in turn contains seventeen subdirectories. Be sure when unzipping to preserve directories. Each component (dll, ocx, or exe) built by Aqua Terra has a corresponding directory containing the source code specific to that component. Directories FortranVB and Utility contain source code shared by more than one component. Directory Script contains source for the seven script components in the package. After unpacking the source code, edit modMachineSpecific.bas so programs can find necessary files where they were installed. This is only necessary if programs are going to be run in development mode. To open one of the programs (GenScn, WDMUtil, WinHspf, or WinHspfLt) in development mode, open the appropriate vbg (Visual Basic Group) file in the main Source directory rather than the vbp (Visual Basic Project) file. This will ensure that all needed components are available and avoid loading errors. A development version of MapObjects LT 1.0 must be installed to run GenScn in develpoment mode. (This control is used by GenScn to display maps.) If VB complains that Rectangle is not defined, this is because MapObjects LT is not installed or is not referenced. Trying to reference the runtime version of MapObjects LT included in the install package may cause VB to hang when running GenScn, requiring manually killing VB. The development version of MapObjects LT may have to be reinstalled after the 2.1 package because ESRI licensing information can be lost during installation. The GenScn group in this source package is configured to use the compiled component ATML2k.ocx rather than the source project ATML2k.vbp. This can simplify development, but the source for ATML2k is also included in the source package and can be added to the group and used in place of ATML2k.ocx.