VCL switching to SAPI4 voice fails

Last reviewed: 6/2/2007

PRB Article ID: P060705

The information in this article applies to:

  • SpeechKit 5

Symptoms

Selecting a SAPI4 voice with the VCL component fails.

Cause

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.

Status

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

Component Formats Impacted

Delphi and C++Builder VCL component formats.