RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleServer.DisconnectEvents Method

Terminates a connection that was established using the ConnectEvents method.

Pascal
procedure DisconnectEvents(const Obj: Iunknown);
C++
__fastcall DisconnectEvents(const Iunknown Obj);

DisconnectEvents descendants use DisconnectEvents internally to terminate the connection established by ConnectEvents. If the DisconnectEvents descendant does not expose any server events, DisconnectEvents is not used. 

The Obj parameter is an interface for the COM server that generates events. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!