🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help on SAPI.LIB

#7693
From: Vladimir Stefanovic
Date: Sun, 09 Jan 2005 18:53
60 lines
2505 bytes
Go here:

   http://www.microsoft.com/msagent/downloads/user.asp

and download:

   1. MS Agent Core Component
   2. Text-to-speech engine
   3. SAPI 4 Runtime binaries

Install all (sequence is not important)

Then go to BCB:

   Main Menu / Component / Import Active X Control

Scroll down untill you see in the 'Class name' area:
   TTextToSpeech

Install it (and build)

I'm not sure, I think that you should install the package
here, via:

   Main Menu / Component / Install packages

... but I realy cannot remember. Try yourself anyway.

TTextToSpeech should appear as a component at
ActiveX tab.

If you drag/dropped the component on your form, you
can use it something like this:

   TextToSpeech->Speak( (WideString)"Say something" );

Also see the rest of the downloads on MS site because there
are some nice things you can use in your projects.




Best regards,
Vladimir Stefanovic
"Paolo Borlandi" <pborlandi@virgilio.it> wrote in message 
news:41e172ce@newsgroups.borland.com...
> I'm trying to use Microsoft Speech SDK but i'm having problems in linking 
> the test program. The following errors arise:
>
> [Linker Error] Unresolved external '_IID_ISpVoice' referenced from 
> D:\BORLAND\CBUILDER5\PROJECTS\UNIT1.OBJ
> [Linker Error] Unresolved external '_CLSID_SpVoice' referenced from 
> D:\BORLAND\CBUILDER5\PROJECTS\UNIT1.OBJ
>
> Have some help? I think the sapi.lib is not ok...
>
> THANK YOU VERY MUCH!!!
>
> Paolo from Italy
> 
Technical Details
Message-ID: <41e17dad$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41e172ce@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3ad0f79973f314e1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e172ce@newsgroups.borland.com>
Subject: Re: Help on SAPI.LIB
Date: Sun, 9 Jan 2005 19:53:38 +0100
Lines: 62
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 82.117.212.65
Message-ID: <41e17dad$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105296813 82.117.212.65 (9 Jan 2005 10:53:33 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail