VCL switching to SAPI4 voice fails

Last reviewed: 6/2/2007

PRB Article ID: P060705

The information in this article applies to:

  • SpeechKit 5


Selecting a SAPI4 voice with the VCL component fails.


The default VCL CoInit property value was changed to 0 in SpeechKit 5 for multi-threaded apartments. SAPI4 requires single-threaded apartments. Set the property value to 2 when using SAPI4.


Fixed in SpeechKit 5 build (Win32) by setting the default back to 2.

Component Formats Impacted

Delphi and C++Builder VCL component formats.