Article View: borland.public.cppbuilder.nativeapi
Article #1100Re: SAPI Failure under Vista - Help!
From: Darko Miletic
Date: Mon, 22 Oct 2007 19:30
Date: Mon, 22 Oct 2007 19:30
14 lines
1432 bytes
1432 bytes
>Using the 'L' prefix on a string literal does not create a BSTR. That is true but in the documentation of SAPI (Vista uses version 5.3) is never explicitly specified that user should provide BSTR as microsoft usualy does by placing BSTR in method definition(s). As we can see here: http://msdn2.microsoft.com/en-us/library/ms719820.aspx Speak is declared like this: HRESULT Speak( LPCWSTR *pwcs, DWORD dwFlags, ULONG *pulStreamNumber );
Technical Details
Message-ID:
<471cfa5f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<471a1686@newsgroups.borland.com> <471cd115$1@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 From: "Darko Miletic" <darko@uvcms.com> Sender: "Darko Miletic" <darko@uvcms.com> Reply-To: "Darko Miletic" <darko@uvcms.com> Subject: Re: SAPI Failure under Vista - Help! Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 200.49.157.163 References: <471a1686@newsgroups.borland.com> <471cd115$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <471cfa5f@newsgroups.borland.com> Date: 22 Oct 2007 12:30:39 -0700 X-Trace: newsgroups.borland.com 1193081439 207.105.83.66 (22 Oct 2007 12:30:39 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail