Share via


SYS(3097) - Add Reference to Object

Performs an IDispatch AddRef call on a COM object.

SYS(3097, oObject)

Returns

Numeric. Returns the current Refcount after adding a new object reference.

Parameters

  • oObject
    Object reference to COM object.

    Note

    This function is provided for experienced developers. Invalid COM object reference counts can yield problems such as objects not being released correctly or calls to objects that no longer exist.

See Also

Reference

SYS(3098) - Release Object reference

DECLARE - DLL Command

SYS( ) Functions Overview