Compiling L&H BNF grammar in Developer Workbench grammar editor fails after recognizing first time
Last reviewed: 5/15/2010
PRB Article ID: P051003
The information in this article applies to:
- SpeechKit 6
- Chant Developer Workbench 2008
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=
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.
Fixed in SpeechKit build 188.8.131.52.
Component Formats Impacted
All component formats.