Hi,

I have successfully built and run CE.NET 4.2 image with SAPI components on a XScale PXA255 platform. When I compiled (MS eVC 4.0) and ran the SPEAKexample provided in platform builder speeck SDK samples directory, the following TTS call returned error:

wcscpy( wcBuff, L"This is a simple sample sentence." );
hr = cpVoice->Speak(wcBuff, 0, NULL);

hr is returned as a negative integer. I checked the processes on the CE.NET 4.2 device and saw the following processes were running:

sapisvr.exe
sapi.dll

I already have struggled on this for weeks. If anyone can help me to get TTS and SR working on my CE.NET 4.2 device, I am more than happy to pay your time and effort.

I can be reached at swang@predictsys.com.

Shawn

Re: SAPI problem in CE.NET 4.2 by Mike

Mike
Tue May 04 19:41:42 CDT 2004

(copy of a private reply)
I suspect that the problem is that you do not have a TTS engine. Microsoft
does not own an embedded TTS engine so we can't ship one with Windows CE.
There are vendors that can provide you with such a TTS engine.

For looking up specific error codes, you can look for the file sperror.h,
which lists the SAPI error codes. On my machine it is at
...\public\speech\sdk\inc.

Mike
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"shawn" <swang@predictsys.com> wrote in message
news:49456773-8552-4B84-B4B5-28B1E4600A17@microsoft.com...
> Hi,
>
> I have successfully built and run CE.NET 4.2 image with SAPI components on
a XScale PXA255 platform. When I compiled (MS eVC 4.0) and ran the
SPEAKexample provided in platform builder speeck SDK samples directory, the
following TTS call returned error:
>
> wcscpy( wcBuff, L"This is a simple sample sentence." );
> hr = cpVoice->Speak(wcBuff, 0, NULL);
>
> hr is returned as a negative integer. I checked the processes on the
CE.NET 4.2 device and saw the following processes were running:
>
> sapisvr.exe
> sapi.dll
>
> I already have struggled on this for weeks. If anyone can help me to get
TTS and SR working on my CE.NET 4.2 device, I am more than happy to pay your
time and effort.
>
> I can be reached at swang@predictsys.com.
>
> Shawn