This type specifies a handle to a foreign function. Use ORA_FFI.FIND_FUNCTION to obtain the handle.
TYPE ORA_FFI.LIBHANDLETYPE;
/* This example uses ORA_FFI.LIBHANDLETYPE */
PACKAGE test is
/* Specify that testlib_lhandle
is a library handle varible type */
testlib_lhandle ORA_FFI.LIBHANDLETYPE;
...
END;
PACKAGE BODY test IS
PROCEDURE register_libs IS
BEGIN
testlib_lhandle := ORA_FFI.LOAD_LIBRARY
('C:\libdir\','test.dll');
...
END;
...
END;
About the ORA_FFI built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.