Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

OLERELEASEOBJECT

action

OLEReleaseObject frees up any resources obtained when the OLE object was created. If you do not explicitly release an object, all its resources will remain allocated until KiXtart exits.

syntax

OLERELEASEOBJECT (objecthandle)

parameters

ObjectHandle

The handle of the object you want to release. This handle must have been obtained by a call to OLECreateObject, OLEGetObject, OLEGetSubObject, OLEGetProperty or OLECallFunc.

returns

If the function succeeds, the return value is 0. If the function fails, the return value represents an error code.