Selecting an engine mode on an active session causes crash

Last reviewed: 12/26/1999

PRB Article ID: P129901

The information in this article applies to:

  • SpeechKit 2.1

Symptoms

Using the engine selection dialog causes my application to crash.

Cause

The engine selection dialog requires that no sessions are active. If a session is active, the application should receive a return code. The SelectEngine (SelectTTSEngine and SelectSREngine) function assumed that there was no active session.

Status

Fixed in SpeechKit 2.1.1. Application now receives return code ChantErrActiveSession 0x80040223.