Progress
External Program
Interfaces
Using Shared Libraries
Progress lets you access shared libraries by declaring and executing the shared library routines in a manner similar to Progress internal procedures. Thus, to use a shared library routine from within Progress, you must complete the following tasks:
- Declare each routine, including input and output parameter definitions, in a PROCEDURE statement.
- For each shared library parameter definition, specify the parameter data type that matches the C data type of the corresponding routine parameter.
- For each Progress variable you pass as a routine parameter, ensure that the data type of the variable is compatible with the parameter data type.
- Execute the shared library routine using the RUN statement. Pass the specified fields, variables, and any required Windows widget handles.
- Build and manage any structures used by the routine.
Progress also allows you to program how long shared libraries remain memory-resident during application execution.
The following sections describe how to perform these tasks.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |