System.Win.ComServ.TComServer.Destroy

From RAD Studio API Documentation
Revision as of 04:51, 20 July 2012 by L10nBot (talk | contribs) (copied from System.Win.Comserv.TComServer.Destroy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TComServer();

Properties

Type Visibility Source Unit Parent
destructor public
System.Win.ComServ.pas
System.Win.ComServ.hpp
System.Win.ComServ TComServer

Description

Destroys an instance of a COM server object.

It is not necessary to directly call Free (or Destroy) to destroy a COM server object. The global ComServ variable, declared in the ComServ unit, is automatically created and destroyed in the initialization and finalization sections.

Destroy destroys the COM server object and calls the ComClassManager to free, from the list it maintains, each of the class factories that the server owns.

See Also