Releases a CORBA object and frees all resources.
IIOP.bdh
IiopObjectRelease(inout hIiop: number): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hIiop | Handle to a CORBA object |
dcltrans transaction TObjectRelease const HOST := "192.168.20.21"; // server PORT := 1052; // port KEY := "...\h00"; // key KEYLEN := 4; // key length var hIiop : number; // handle to a CORBA objectnSum : number; begin IiopSetMaxGiopVersion("1.2");IiopSetByteOrder(IIOP_BIG_ENDIAN); // retrieve handle to server IiopObjectCreate(hIiop, "IDL:DemoObject:1.0", "1.2",HOST, PORT, KEY, KEYLEN); // call request "Print" IiopRequest(hIiop, "Print", IIOP_ONEWAY); IiopObjectRelease(hIiop); end TObjectRelease;