|
The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024
|
|
[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
AT&T Natural Voices ... and Visual Studio.net
- To: <ukha_d@xxxxxxx>
- Subject: AT&T Natural Voices ... and Visual
Studio.net
- From: "Stuart Booth" <stuart@xxxxxxx>
- Date: Sat, 18 May 2002 19:38:21 +0100
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
I don't suppose anybody's tried invoking the Natural Voices C++ SDK from
Visual
Studio.net have they? It comes with libraries compiled with Visual
Studio6.
I posted some of the following to the Natural Voices forum but have to say
it
doesn't look that lively a place. I was hoping to invoke Natural Voices
from C# or
maybe managed C++, but it's now looking like I'll need to call onto some
VC6
compiled unmanaged C++.
<Snooze Warning>
Suggest you stop reading now if the sight of C++ code sends you to sleep !
:)
</Snooze Warning>
On trying to compile with MS VS.net I get what looks like a standard
template
library error (or 4):
TTSDesktopPlayer error LNK2019: unresolved external symbol "void
__cdecl
std::_Xlen(void)" ...
After installing VS6 and the CRT source I found a global definition of
_Xlen and
_Xran that appears to be missing from VS.net, so I added this:
namespace std // VS6 uses _STD_BEGIN
{
// report a
length_error
_CRTIMP2 void __cdecl _Xlen()
{_THROW(length_error, "string too
long"); }
// report an
out_of_range error
_CRTIMP2 void __cdecl _Xran()
{_THROW(out_of_range, "invalid string
position"); }
}; // VS6 uses _STD_END
Sure enough, this got things compiling. But I get as far as this in
TTSSampleEngine.h before an error result is returned:
class CSampleEngine : ...
:
virtual TTS_RESULT Create (...)
{
: stuff elided
// Initialize the engine
//
result = this->m_pEngine->Initialize();
:
}
This is returning an error result: 0x80040008
Now, if I've interpreted MAKE_TTS_RESULT correctly that's a
TTS_EXCEPTION.
Not at all sure how I can get around this. Possibly I just can't. Any
thoughts/solutions anyone?
Stuart
--
Stuart Booth
Somewhere in Buckinghamshire, England, UK
stuart@xxxxxxx
Yahoo! Groups
Sponsor |
ADVERTISEMENT
|
|
|
For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe: ukha_d-subscribe@xxxxxxx
Unsubscribe: ukha_d-unsubscribe@xxxxxxx
List owner: ukha_d-owner@xxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Home |
Main Index |
Thread Index
|
|