[fpc-pascal] Playing with SpVoice (ole object)

Joao Morais post at joaomorais.com.br
Mon May 12 13:11:54 CEST 2008


surin_bp at mail.ru wrote:
> Joao Morais wrote:
>>   s := 'hello world';
>>   vsound.speak(s);
> 
>> speaks using a literal but says randomic words (sometimes says 
>> nothing) using a variable. Is there something that I am missing?
> 
> You should use a variable of type WideString:
> VAR
>  S: WideString;
> ....
> And all will be good

Discovered this issue some minutes ago =) Thank you!




More information about the fpc-pascal mailing list