Problem Report Bulletins

Last reviewed: 5/15/2010

Article ID: P051003

PRB: Compiling L&H BNF grammar in Developer Workbench grammar editor fails after recognizing first time

The information in this article applies to:

  • SpeechKit 6
  • Chant Developer Workbench 2008

Symptoms

Grammar compiles fail once you have activated and deactivated an L&H grammar in the Developer Workbench grammar editor.

The error messages are as follows:

CCAPIError: ID=6 Function=phCBase Text=An invalid argument was passed to a function. 
CCAPIError: ID=3 Function=lh_InitBase Text= 

Cause

VoCon 3200 Version 3 restricts an application to one instance of the base API object. The SpeechKit instance of the base API object was not destroyed after deactivating the grammar to be use on subsequent activations. GrammarKit attempts to instantiate the base API object to compile the grammar and fails because the of SpeechKit instance.

Status

Fixed in SpeechKit build 6.0.7.0.

Component Formats Impacted

All component formats.

SpeechKit 7 Upgrade to SpeechKit 7

Manage recognizers and synthesizers efficiently for hands-free operation in 32-bit, 64-bit, and mobile applications.

Learn moreLearn more DownloadDownload Buy US $499Buy US $499
Plantronics Voyager PRO UC Plantronics Voyager PRO UC Bluetooth headset

  • Noise-Canceling microphone
  • Range up to 30 feet
  • 6 hours talk time
  • Up to 100 hours standby
  • Convenient USB charging

Learn moreLearn more Buy US $199Buy US $199