Always getting 0 for VCL TChantTTSEngine EngineAPI property value

Last reviewed: 2/16/2004

PRB Article ID: P020402

The information in this article applies to:

  • Chant SpeechKit 4

Symptoms

The TChantTTSEngine EngineAPI property value is always 0 regardless of the engine.

Cause

The TChantTTSEngine EngineAPI property accessor used a type parameter to access the constant property value from the CDLL instead of a Long. Borland compiler does not treat types on the parameter stack the same as other compilers.

Status

Fixed in SpeechKit 4 build 4.0.98.0.

Component Formats Impacted

C++Builder and Delphi VCL