System.Threading.TThreadPool.InitializeCOM
Delphi
property InitializeCOM: Boolean read FInitializeCOM write FInitializeCOM default False;
C++
__property bool InitializeCOM = {read=FInitializeCOM, write=FInitializeCOM, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Threading.pas System.Threading.hpp |
System.Threading | TThreadPool |
Description
Specifies when tasks running by these pool threads use Microsoft COM. Its default value is False
.
Most common examples when using COM:
- MSXML
- ADO components
- TWICImage
Notes:
- This property is only available for Windows.
- When a task uses COM Services, it is required to set InitializeCOM to
True
.