🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SAPI Failure under Vista - Help!

#1194
From: Darko Miletic
Date: Sat, 20 Oct 2007 19:27
19 lines
1620 bytes
JohnC wrote:
> Well, I wasn't sure what the best group was for this question, but here 
> goes.

> 
> However, when I run it under Vista I get a floating point divide by zero 
> when Speak() is called.


First of all try to mask floating point exceptions :

http://homepages.borland.com/ccalvert/TechPapers/FloatingPoint.html

Second, try to initialize COM like this:

CoInitializeEx (NULL, COINIT_MULTITHREADED)

Than check the result of the Speak function after that and tell us the 
results of that experiment.
Technical Details
Message-ID: <471a567c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <471a1686@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6c3b668ca80ad7d9
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 20 Oct 2007 16:27:02 -0300
From: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: SAPI Failure under Vista - Help!
References: <471a1686@newsgroups.borland.com>
In-Reply-To: <471a1686@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000782-3, 19/10/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 200.89.185.153
Message-ID: <471a567c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1192908412 200.89.185.153 (20 Oct 2007 12:26:52 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail