VB Samples crash

Last reviewed: 11/28/1999

PRB Article ID: P029802

The information in this article applies to:

  • SpeechKit 2.0 for VisualBasic


When running the SpeechKit samples within the Visual Basic IDE, if you click the stop button without closing the sample application, you crash.

The problem does not occur outside the VB IDE as a standalone .exe.


VB is not calling application close, before terminating the thread on which the application is running. The Chant component class destuctor does not detect the active session to force OLE/COM cleanup.

If you close the sample application, this causes the correct sequence of application termination.


This has been corrected in SpeechKit 2.1.1.