Just to complete the info on this ....
I had previously already tried it with SAPI 5.1. Unfortunately this has pretty 
much the same functionalities as SAPI 4. Therefore I cannot access 
WaitUntilDone function. However I have worked out an alternate method to do 
without this function. Thanks to everyone for suggestions and helpful tips. 
Guess I just have to wait till I get a Windows 7 pc to have the correct SAPI :D

Regards
TFE
http://totallyfreeenergy.zxq.net

--- In advanced_delphi@yahoogroups.com, "Cord Schneider" <nmfpg4...@...> wrote:
>
> TFE,
> 
> I am regularly astounded at how few people can use a search engine. In
> less than a minute I found a webpage suggesting that if you're looking
> for the SAPI 5.3 API you should search MSDN (which would have been a
> logical starting point). One more search revealed this webpage
> <http://blogs.msdn.com/chuckop/archive/2006/11/24/microsoft-speech-api-s
> dk.aspx> which explains that the SAPI 5.3 API has been integrated into
> the Windows SDK. The author also states the following:
> 
> "For the SDK, you can download the SAPI 5.1 SDK to create applications
> and engines that work on Windows XP and Windows Server 2003. These
> applications or engines should also be forward-compatible with SAPI 5.3
> on Windows Vista and beyond. The SAPI 5.1 SDK is a stand-alone package,
> separate from other Microsoft SDK's."
> 
> Reading between the lines, you're probably not going to be able to use
> SAPI 5.3 on Windows XP because it is not supported. In all likelihood,
> if you want to use SAP 5.3 you will need to upgrade to Windows Vista or
> later.
> 
> However, if I were you I would invest a little more time exploring the
> SAPI 5.1 API documentation
> <http://www.nextup.com/sapi5doc/Getting_Started.htm>. As far as I can
> see, the ISpVoice interface
> <http://www.nextup.com/sapi5doc/ISpVoice.htm> for 5.1 does support
> WaitUntilDone as well as SpeakCompleteEvent (the former blocks while the
> latter allows you to hook an event).
> 
> I hope the above helps.
> 
> Regards,
> 
> Cord Schneider
> StaffPlan Ltd
> http://www.staffplan.co.uk/
> 
> 
> -----Original Message-----
> From: advanced_delphi@yahoogroups.com
> [mailto:advanced_del...@yahoogroups.com] On Behalf Of totallyfreeenergy
> totallyfreeenergy-at-yahoo.com |Advanced Delphi|
> Sent: 13 November 2009 00:10
> To: Cord Schneider
> Subject: [advanced_delphi] Re:A tricky thread problem
> 
> Thanks Steve. That's a very good link. I have tried a few inbuilt
> callbacks like isSpeaking. So far still unable to get it to work as it
> should. May be it is because I am doing it within the VCL thread and
> that too within a for loop. Although I dont know why that should matter.
> I have heard that SAPI 5.3 has a new function WaitUntilDone that I think
> would be so useful. However how to get the download of it. Unlike
> previous versions, this is part of platform SDKs. I am using Windows XP
> SP3.
> 
> Regards
> TFE
> http://totallyfreeenergy.zxq.net
>


Reply via email to