Progress
External Program
Interfaces
Using HLC
The Progress HLC Interface provides a way to call C language functions from within Progress 4GL applications. You can use Progress HLC to add portable custom features to Progress. For example, you can link in C functions that do the following:
If you intend to port your extensions to other environments, use HLC. If you intend to build extensions for use with Windows only, use dynamic link libraries (DLL). If you intend to build extensions for use on UNIX platforms, use UNIX shared objects.
You can use shared libraries or DLLs with your Progress Windows applications to call routines from a 4GL procedure. An application links to these routines at run time rather than at build time, and shares the code with other applications. Any enhancement to a shared library or DLL immediately becomes available to your application without rebuilding.
For more information on using UNIX shared libraries or Windows DLLs with Progress, see Shared Library and DLL Support." See your Windows SDK documentation for details on building DLLs.
The HLC library functions provide an interface between C functions and Progress. From your C function, you can call HLC library functions that perform the following tasks:
For more information on using HLC library functions, see the "Using HLC Library Functions" section later in this chapter. For details on each HLC library function, see "HLC Library Function Reference."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |