I use the default threading model (that's MTA right?) BTW, I am using version 2 of the framework.
Georg -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Steele Sent: 11. mai 2006 14:03 To: [email protected] Subject: Re: [ADVANCED-DOTNET] .NET / COM / SAPI - The Server application (TTS) is needlessly loaded in a separate instance. 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 =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
