Internet Direct (Indy) Version 9.0.1 Beta
TIdAntiFreezeBase.Create
Constructs and initializes an instance of TIdAntiFreezeBase.

constructor Create(AOwner: TComponent); override;
Parameters
AOwner: TComponent
Owner of the object instance.

Description
It is not necessary to explicitly create an instance of the component added in the form designer. These components are created automatically when the application is run, and they are destroyed when the application is closed.

Only one instance of TIdAntiFreezeBase is allowed per application. If another instance already exists, an exception is raised with the RSOnlyOneAntiFreeze message. TIdAntiFreezeBase uses the global variable GAntiFreeze to determine if another instance has already been created.

Create initializes the following properties to their default values:

Note: Do not create instances of TIdAntiFreezeBase. Applications should use the TIdAntiFreeze component.