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

ORA_FFI.FIND_LIBRARY built-in function

This function locates and returns the handle for the specified foreign library name. The library must previously have been registered with ORA_FFI.LOAD_LIBRARY.

Syntax


FUNCTION ORA_FFI.FIND_LIBRARY 
(libname VARCHAR2)
RETURN libHandleType;

Parameters

Parameter

Description

libname

The name of the library.

Returns

A handle to the specified foreign library.

Example


/* Find foreign library handle for 
  a given library name */
  
BEGIN
  ...
  libhandle := ORA_FFI.FIND_LIBRARY
  ('mylib.dll');
  ...
END;

See also

About the ORA_FFI built-in package

ORA_FFI built-in package