This type of Library enables your EGL-generated Java™ code to invoke a single, locally running DLL written in the C language. The purpose of each function in this Library type is to provide an interface to a DLL function. You cannot define statements in the EGL function, and you cannot declare variables or constants anywhere in the Library.
Library myNativeLibrary type NativeLibrary
{callingConvention=CallingConventionKind.I4GL, dllname="mydll"}
Function entryPoint1( p1 INT sqlNullable in,
p2 DATE in, p3 TIME in,
p4 INTERVAL in, p5 ANY out)
end
Function entryPoint2( p1 FLOAT in,
p2 STRING in,
p3 SMALLINT out)
end
Function entryPoint3( p1 ANY in,
p2 ANY in,
p3 ANY out,
p4 CLOB inOut)
end
end
For information on properties associated specifically with this stereotype, see NativeLibrary properties.