System.SyncObjs.THandleObject.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(UseCOMWait: Boolean = False);

C++

__fastcall THandleObject(bool UseCOMWait);

Properties

Type Visibility Source Unit Parent
constructor public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs THandleObject

Description

Instantiates a THandleObject object.

Call Create to create a THandleObject object.

Set the UseCOMWait parameter to ensure that when a thread is blocked and waiting for the object, any STA COM calls can be made back into this thread.

See Also