[fpc-pascal] SpVoice.GetVoices returned exception class EOleSysError

Lars noreply at z505.com
Wed Apr 12 11:30:36 CEST 2017


Do you know about fpu issue, described on wiki?
http://wiki.freepascal.org/SAPI
Is it an fpu exception or something else?

And stackoverflow
http://stackoverflow.com/questions/3032739/delphi-sapi-text-to-speech

Regards
Toppost

On Mon, April 10, 2017 12:58 am, misabov wrote:
> The project has generated an exception class EOleSysError with a message:
>  ???? ?????? ?? ??????.
>
>
> uses ...,ComObj;
>
>
> var SpVoice: Variant;
>
>
> SpVoice := CreateOleObject('SAPI.SpVoice');
> SpVoice.Voice:= SpVoice.GetVoices('','').Item(0);
>
>
> SpVoice GetVoices method (SAPI 5.3) cannot return  a selection of voices
> available to the voice.
>
>
>
>
>
>
> --
> View this message in context:
> http://free-pascal-general.1045716.n5.nabble.com/SpVoice-GetVoices-return
> ed-exception-class-EOleSysError-tp5728192.html Sent from the Free Pascal -
> General mailing list archive at Nabble.com.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list