🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5613

Re: SAPI and BCB where is the BCB compatible lib?

#5613
From: Stefano Bonifazi
Date: Thu, 04 Aug 2005 06:41
39 lines
1996 bytes
Thank You, a valid alternative I suppose!:-)
Regards,
Stefano B.

"Mike Harris" <nospam@nospam.com> ha scritto nel messaggio 
news:42f0f217$1@newsgroups.borland.com...
> try these setps...
>
> 1 ) import type lib.
> Type Lib: C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll
>
> 2 ) #include "resulting_TLB.h"
>
> please do not cretique. it is sample code
> 3 )
> namespace { // anon
>    ISpeechVoicePtr VoicePtr;
>    SpeechVoiceSpeakFlags eSpeechVoiceSpeakFlags = SVSFDefault;
> };
>
> 4 ) Button1Click(TObject *Sender)
> {
> if (!VoicePtr)
>   VoicePtr = CoSpVoice::Create();
>
> if (!VoicePtr) return;
>
>  VoicePtr->Speak(WideString("Hello world"),  eSpeechVoiceSpeakFlags);
> }
>
>
>
> "Stefano Bonifazi" <stefboombastic@libero.it> wrote in message 
> news:42f0e4ac$1@newsgroups.borland.com...
>> Hi all!
>> I'm trying to make SAPI working with BCB, of course the matter is with 
>> the Microsoft sapi.lib that's a COFF ...
>
> 
Technical Details
Message-ID: <42f1b8a5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f0e4ac$1@newsgroups.borland.com> <42f0f217$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9accb675a10a23dc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stefano Bonifazi" <stefboombastic@libero.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42f0e4ac$1@newsgroups.borland.com> <42f0f217$1@newsgroups.borland.com>
Subject: Re: SAPI and BCB where is the BCB compatible lib?
Date: Thu, 4 Aug 2005 08:41:41 +0200
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 81.211.152.246
Message-ID: <42f1b8a5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123137701 81.211.152.246 (3 Aug 2005 23:41:41 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail