Consultor Eletrônico



Kbase P10516: How to define an external procedure in the AppBuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/03/2010
Status: Unverified

GOAL:

How to define an external procedure in the AppBuilder

GOAL:

Can Section Editor in AppBuilder handle external procedures?

FACT(s) (Environment):

Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

The external procedure definition could be defined in after the Main-Block like the following example:

MAIN-BLOCK:
DO ON ERROR UNDO MAIN-BLOCK, LEAVE MAIN-BLOCK
ON END-KEY UNDO MAIN-BLOCK, LEAVE MAIN-BLOCK:
RUN enable_UI.
IF NOT THIS-PROCEDURE:PERSISTENT THEN
WAIT-FOR CLOSE OF THIS-PROCEDURE.
END.

PROCEDURE <procedure-name> EXTERNAL "Kernel32.dll".
/*PARAMETER definitions....*/
END PROCEDURE.