EnableResource returns E_NOINTERFACE error even though successful

Last reviewed: 12/22/2007

PRB Article ID: P120704

The information in this article applies to:

  • SpeechKit 5

Symptoms

EnableResource for CSRCommand resource returns E_NOINTERFACE error even though successful.

Cause

GetResourceCount for CSRVocabPhrase and CSRVocabRule resources returns E_NOINTERFACE error even though successful. The command table is invoking a GetResourceCount when adding the command to the internal command vocabulary on the EnableResource. The default error code E_NOINTERFACE was not cleared after successful execution of GetResourceCount for CSRVocabPhrase or CSRVocabRule resources.

Status

Fixed in SpeechKit 5 build 5.0.15.0 (Win32).

Component Formats Impacted

ActiveX, COM, Java, Web, and Xtra component libraries.