Progress
External Program
Interfaces
Writing C Functions
Figure 2–3 shows the relationship between the
PRODSP()
dispatch routine that Progress supplies and your C functions.Figure 2–3: Relationship Between PRODSP() and Your C Functions
![]()
In general, your C functions can perform the following tasks:
- Call HLC library functions to read data from and write data to Progress shared buffers and variables. HLC library functions are C functions that Progress provides to access the Progress application environment from a user-written C function.
- Perform operations using data from both Progress and other sources. Other sources might include optical scanners, process monitor and control devices, spreadsheets, and other devices or applications not supported directly by Progress.
Your C functions consist of functions called directly from
PRODSP()
(top-level functions), and functions called directly or indirectly from the top-level functions (subfunctions). All top-level functions must return control to Progress, regardless of the subfunctions called.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |