Exception from HRESULT: 0x80045003

2

I am using C#.Net to develop the Speech recognition engine to develop speech to text in bangla. I have tried several times to load the grammer file to the speechengine. But it shows me the error. How I can resolve this problem.

My XML grammer loading code is

grammar.CmdLoadFromFile(appPath + FileName, SpeechLib.SpeechLoadOption.SLOStatic);
//grammar.CmdLoadFromFile("E:\\Speech RecognitionByp\\SpeechRecognitionByp@bengaliGramme.xml",SpeechLib.SpeechLoadOption.SLODynamic);
grammar.CmdSetRuleIdState(0, SpeechRuleState.SGDSActive);
xml
c#-4.0
speech-recognition
asked on Stack Overflow Aug 21, 2011 by Prodip • edited Aug 21, 2011 by Yahia

1 Answer

3

The error means SPERR_UNSUPPORTED_FORMAT - this can only be resolved by correcting the format of your file...

answered on Stack Overflow Aug 21, 2011 by Yahia

User contributions licensed under CC BY-SA 3.0