Thanks for the link. I uninstalled the full SAPI4SDK suite and then installed 
SAPI 5 SDK. The control panel shows that it is installed. However when I tried 
to import the activex component in Delphi 7 it was not possible. The 
texttospeech dll is not there for me to import. Would anyone have any clue what 
is going on. I had downloaded the SAPI 5.1 SDK from Microsoft.

TFE
http://totallyfreeenergy.zxq.net

> 
> Maybe I'm not fully understanding your inquiry but... Speak can be called 
> synchronously or asynchronously. By default... it occurs synchronously.
> 
> To "ensure" that it occurs synchronously... use the SVSFDefault flag.
> e.g. Form1.TextToSpeech1.Speak("This is a test.", SVSFDefault)
> List of flags can be found at...
> http://msdn.microsoft.com/en-us/library/ms720892(VS.85).aspx
> 
> Form1.Component1.Visible should not become visible until "after" Speak has 
> spoken the text.
> 
> As a footnote... I'm using Delphi 7 on a WinXP SP3 system and the 
> WaitUntilDone(INFINITE) works as it's suppose to if I use the SVSFlagsAsync 
> flag.
> 
> I believe I mentioned this web site in a previous message related to SAPI (it 
> contains good documentation, a .zip file with several examples, and several 
> links to even more info regarding SAPI)...
> http://www.blong.com/Conferences/DCon2002/Speech/SAPI51/SAPI51.htm
> 
> David
>


Reply via email to