Re: SAPI problem
From: Alan Page [MS] (alanpa_at_online.microsoft.com)
Date: 02/17/04
- Next message: Alan Page [MS]: "Re: SAPI problem"
- Previous message: John Spaith [MS]: "Re: PB 4.1 - how to FTP without WinInet library ?"
- In reply to: Cancer02: "Re: SAPI problem"
- Next in thread: Alan Page [MS]: "Re: SAPI problem"
- Reply: Alan Page [MS]: "Re: SAPI problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Feb 2004 16:33:22 -0800
I'm not a SAPI expert, but I'm trying to find more information for you. My
educated guess is that you don't have a speech recognition engine in your
image. If you're using 4.2, have you included the Windows CE Recognizer or
equivalent 3rd party (or your own) recognition engine in your image?
-- Alan Page [MS] --- This posting is provided "AS IS" with no warranties, and confers no rights. "Cancer02" <anonymous@discussions.microsoft.com> wrote in message news:10b2a01c3f3e5$3e257b50$a401280a@phx.gbl... > Hi, > Excuse me, but I have been mistaken when I have exposed > my problem. The error wasn't in > > //******************************************************** > ************ > hr = m_cpRecoCtxt->SetNotifyWindowMessage( hDlg, > WM_RECOEVENT, 0, 0 ); > //******************************************************** > ************ > > I rectify: > > //******************************************************** > ************ > HRESULT hr = S_OK; > CComPtr<ISpRecognizer> cpRecoEngine; > hr = cpRecoEngine.CoCreateInstance > (CLSID_SpInprocRecognizer); > //******************************************************** > ************ > > run right, but > > //******************************************************** > ************ > hr = cpRecoEngine->CreateRecoContext(&m_cpRecoCtxt ); > //******************************************************** > ************ > > fail. In fact, it return hr = -2147200966 (I believe it's > 0x8004503A in exadecimal). > > Do you know how to resolve this problem? > Can you help me, please ! >
- Next message: Alan Page [MS]: "Re: SAPI problem"
- Previous message: John Spaith [MS]: "Re: PB 4.1 - how to FTP without WinInet library ?"
- In reply to: Cancer02: "Re: SAPI problem"
- Next in thread: Alan Page [MS]: "Re: SAPI problem"
- Reply: Alan Page [MS]: "Re: SAPI problem"
- Messages sorted by: [ date ] [ thread ]