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

About Building a Microsoft Windows Dynamic Link Library

Two project files, UE_SAMP.MAK and UE_XTBN.MAK, are guides to help you create a DLL containing foreign functions that can be invoked from a user exit.

You also have the option of defining your own project file. When creating your own project file, remember to include a IAPXTB control structure object code file, the foreign function object code files, and the required files for integrating foreign functions that can be invoked from a user exit in Oracle Forms.

One of the required files for integrating foreign functions with Oracle Forms is the UE_SAMP.DEF file. Use the UE_SAMP.DEF file to export foreign functions. Some export statements for Oracle Forms already exist. Do not modify the existing export statements, because the functions are used by Oracle Forms to access user exits.

The UE_SAMP.MAK project file is used here as an example. In addition to the object code files containing your foreign functions, UE_SAMP.MAK includes the following files:

You must also link the following files:

If you are creating an Oracle Precompiler foreign function, you must link the following libraries:

You create UE_SAMP.DLL after building the UE_SAMP.MAK project file. You can rename UE_SAMP.DLL to FRMXTB32.DLL, make a backup copy of FRMXTB32.DLL located in <oracle_home>/bin, and replace the existing FRMXTB32.DLL with the new FRMXTB32.DLL. Alternatively, you can add UE_SAMP.DLL to the List of DLLs defined by the FORMS_USEREXITS parameter in the registry.


About writing a user exit on Microsoft Windows

Defining foreign functions in multiple dynamic link libraries