🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help on SAPI.LIB

#7696
From: Remy Lebeau (TeamB)
Date: Mon, 10 Jan 2005 08:50
20 lines
1609 bytes
"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:

You did not add the .lib files to your project.  Not only that, but you
cannot use Microsoft .lib files in Borland compilers to begin with.  They
are not compatible.  The best way to get around those errors is to just
define the values in your code directly:

    const IID IID_ISpVoice = {0x6C44DF74, 0x72B9, 0x4992, {0xA1, 0xEC, 0xEF,
0x99, 0x6E, 0x04, 0x22, 0xD4}};

    const CLSID CLSID_SpVoice = {0x96749377, 0x3391, 0x11D2, {0x9E, 0xE3,
0x00, 0xC0, 0x4F, 0x79, 0x73, 0x96}};


Gambit
Technical Details
Message-ID: <41e24163$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e172ce@newsgroups.borland.com>
Subject: Re: Help on SAPI.LIB
Date: Mon, 10 Jan 2005 00:50:27 -0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41e24163$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105346915 68.69.17.41 (10 Jan 2005 00:48:35 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail