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

SYS(3098) | DECLARE - DLL Command