uses Comobj;
procedure TForm1.Button1Click(Sender: TObject);
var
voice: OLEVariant;
begin
voice := CreateOLEObject('SAPI.SpVoice');
voice.Speak('Hello World!', 0);
end;
Here you can find some interesting and useful Delphi tips. I will be glad if you can share your knowledge with other people by posting comments and any other kind of useful information regarded to Delphi. Thank You!
1 comment:
how to change the language for SAPI?
its possible?
Post a Comment