Methods fail after second C++ object instantiation

Last reviewed: 4/9/2005

PRB Article ID: P040502

The information in this article applies to:

  • SpeechKit 4

Symptoms

Invoking methods on a C++ object that was instantiated after releasing the first object fail.

Cause

The C++ classes dynamically load the CDLL component library and function addresses. The static class variables that contain the function pointers retained addresses from initial load that may no longer be valid.

Status

Ensure function pointers are obtained on subsquent initializations. Fixed in SpeechKit 4 build 4.0.114.0.

Component Formats Impacted

CDLL component library using C++ classes.