Text-to-Speech app crashes on subsequent calls if first call fails

Last reviewed: 8/26/1999

PRB Article ID: P089906

The information in this article applies to:

  • SpeechKit 2.1

Symptoms

When calling StartTextToSpeech(), if it returns an error (non-zero value) and I then call ResetTextToSpeech() or TextToSpeech() the program crashes.

Cause

Sessions that do not initialize properly are not properly released and can still be partially referenced on subsequent calls.

Status

Fixed in SpeechKit 2.1.1.