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:

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:

  1. Write your C functions and update the PRODSP() dispatch routine contained in hlprodsp.c.
  2. Compile your C routine source files and the hlprodsp.c dispatch routine source file.
  3. Use the PROBUILD EUC utility to generate a link script for your executable.
  4. Link your C object files, the hlprodsp.c dispatch routine object file, and Progress object files, using the link script that PROBUILD generates.
  5. 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