Progress
External Program
Interfaces
Running the Sample Application On Windows
To verify that your HLC application is installed correctly, run the sample application by completing the following steps:
NOTE: Before you develop your own applications, move- Create a working directory, then go to it.
c.bat
to a directory that is in your path and movehlc.h
to your include file directory or current working directory.- Copy the example HLC files to your working directory, as follows:
- Create an empty database:
- Load and run the Progress programs
loaddb.p
andinitdb.p
.- Compile the C source files to create object files in your current directory:
- Run the Progress PROBUILD EUC utility using
tankdsp
andhlvcalc
as object files for the HLC application.See the Progress Client Deployment Guide for more information on the PROBUILD utility.
- Copy the
.def
and.res
files to your current working directory:
- Link your test HLC module using the link script PROBUILD generates:
- Link in the resource files:
- Run
hltank.p
.After you run
hltank.p
, verify that the results you obtain are correct by comparing them to the following results that list the input values for radius, tlength, and depth, and the correct output for tavail:
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |