What's the threading model of the COM component you're trying to use?
STA?  MTA?

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele



-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Georg Jansen
Sent: Thursday, May 11, 2006 5:08 AM
To: [email protected]
Subject: [ADVANCED-DOTNET] .NET / COM / SAPI - The Server application
(TTS) is needlessly loaded in a separate instance.


Hi all.



I have an ASP.NET application that uses SAPI 5 to generate voice (based
on text).

It is all working very well, the voice is generated and send back to the
client (browser).



The application is using a TTS program (Text to speech) from Acepela,
this TTS is run as an service on the server (windows 2000).



The problem is that when I call the sound generator through the SAPI
5/Com interface (Interop.SpeechLib), the TTS is started in a separate
instance, i.e. the com interface is not reusing the instance that is
already running on the server. This is causing some conflicts in the TTS
(when other application is using the TTS simultaneously).

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to