Progress
External Program
Interfaces
Overview Of HLC
You can use HLC to add virtually any feature to Progress that is written in C and that follows HLC programming rules. To use HLC, you should be familiar with the following topics:
- Using the Progress 4GL client.
- Using the PROBUILD End User Configuration (EUC) utility. See the Progress Client Deployment Guide for more information on PROBUILD.
- Designing, compiling, and linking C programs. See the C documentation for more information.
Figure 2–1 illustrates the steps to build an HLC executable.
Figure 2–1: Steps To Build an HLC Executable
![]()
Follow these basic steps to build an HLC executable:
- Write your C functions and update the
PRODSP()
dispatch routine contained inhlprodsp.c
.- Compile your C routine source files and the
hlprodsp.c
dispatch routine source file.- Use the PROBUILD EUC utility to generate a link script for your executable.
- Link your C object files, the
hlprodsp.c
dispatch routine object file, and Progress object files, using the link script that PROBUILD generates.See the Progress Client Deployment Guide for information on the Progress PROBUILD EUC utility.
To use HLC you must build an HLC executable. An HLC executable is a Progress module with your C functions linked. Once you build an HLC executable, you can use the CALL statement to execute a linked C function from a Progress 4GL procedure.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |