Progress
External Program
Interfaces
Options For Shared Library Routine Execution
The proc-name in the RUN statement must match the proc-name in the corresponding PROCEDURE statement, whether or not you declare the shared library routine with the ORDINAL option. Also, proc-name must be declared in the same 4GL source file where the RUN statement is executed.
The parameter-list contains INPUT, OUTPUT, and INPUT-OUTPUT parameters in the order defined for the corresponding PROCEDURE statement. If you specify a RETURN parameter for the PROCEDURE statement, you must match it with an OUTPUT parameter in the corresponding RUN statement. You cannot specify the return value for a shared library function as a CHARACTER variable. You must pass character strings used as the return value to a MEMPTR variable. See the "Passing CHARACTER Values To Shared Library Routines" section for more information. The RUN statement parameter data types must match the data types of the corresponding parameter definitions for the PROCEDURE statement. Any mismatch causes a run-time error.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |