A script-enabled browser is required for this page to function properly.

Creating the IAPXTB Control Structure for Microsoft Windows

Create the IAPXTB control structure by using the UE_XTB.C or the UE_XTBN.C file as a template. Alternatively, create your own IAPXTB control structure in a self-defined file.

Note: On Microsoft Windows, an IAPXTB control structure is required for building each DLL that contains foreign functions that can be invoked from a user exit. Include only those entries in the IAPXTB control structure used for corresponding foreign functions that are contained in a DLL.

The following is an excerpt from a slightly modified UE_XTB.C file:

extern exitr iapxtb[] = { /* Holds exit routine pointers */
"UE_Name", UE_Funct, XITCC, 
"USEREXECSQL", uxsql, XITCC, 
(char *)0, 0, 0 /* zero entry marks the end */ 
} /* end iapxtb */

The file includes the user exit name UE_Name. In this example, the following line was added to the original UE_XTB.C file:

"UE_Name", UE_Funct, XITCC,

UE_Name

is the user exit name for use by the USER_EXIT Built-in subprogram to invoke the foreign function from Oracle Forms.

UE_Funct

is the name of the foreign function that temporarily takes over processing control from Oracle Forms.

XITCC

specifies the C programming language that is used to develop the foreign function.

 


About writing a user exit on Microsoft Windows

Creating an IAPXTB control structure

Microsoft Windows user exit interface files