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


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


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.


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

Component Formats Impacted

CDLL component library using C++ classes.