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

misabov misabov at YANDEX.RU
Mon Apr 10 08:58:29 CEST 2017


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-returned-exception-class-EOleSysError-tp5728192.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list