Cross-platform TChantRecognizer and TChantSynthesizer unable to be downcast

Last reviewed: 5/17/2023

PRB Article ID: P052304

The information in this article applies to:

  • SpeechKit 12

Symptoms

Downcasting TChantRecognizer and TChantSynthesizer to the default platform class fails.

Cause

Microsoft supports semantic interpretation markup in the following SpeechAPIs: Microsoft SAPI 5, Microsoft Speech Platform, Microsoft .NET System.Speech, and Microsoft .NET Microsoft.Speech.

The class constructors allocated the runtime objects correctly but instantiated the parent class objects.

Status

Fixed in SpeechKit build 12.0.1.0.

Component Formats Impacted

SpeechKit Delphi .pas and C++Builder .cpp include files.