You can use a native Library to enable your EGL-generated Java™ code to invoke a single, locally
running dynamic link library (DLL) that is 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.
The following example shows a Library part that uses the NativeLibrary
stereotype:
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 about properties that are associated with this
stereotype, see NativeLibrary properties.