Web应用程序中的SpeechLib引用 [英] SpeechLib reference in web application
本文介绍了Web应用程序中的SpeechLib引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何在Web应用程序中使用SpeechLib引用?我已经添加了引用,它也显示在bin文件夹中。
但是当我执行代码时,它会显示一个异常,例如从IClassFactory创建一个带有CLSID {73AD6842-ACE0-45E8-A4DD-8795881A2C2A的COM组件的实例,由于以下错误而失败: 80070008.。所以我认为我使用参考的方式可能是错误的。请帮我纠正这个问题。
提前谢谢。
Hi all,
How to use SpeechLib reference in web application? I already added the reference and it is also displaying in bin folder.
But when i execute the code it shows an exception like "Creating an instance of the COM component with CLSID {73AD6842-ACE0-45E8-A4DD-8795881A2C2A} from the IClassFactory failed due to the following error: 80070008."". So I think the way i used the reference may be wrong. Please help me rectify the problem.
Thanks in advance.
推荐答案
我认为您的语音引擎安装不正确。您正在使用什么操作系统?XP / Win7?它是否在Windows中运行?这是SDK的链接,也许您尝试重新安装它:http ://www.microsoft.com/download/en/details.aspx?DisplayLang = zh-CN = 10121
很抱歉双重帖子。
Hi, I think your Speech Engine isn't installed correctly. What os you are using?XP/Win7? Does it work within windows? Here's the link to the SDK, maybe you give a try to reinstall it: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=10121
Sorry for double post.
但是当我的Windows服务应用程序中使用相同的代码时,它会给出错误
System.Runtime.InteropServices.COMException(0x8004503A):来自HRESULT的异常:0x8004503A在SpeechLib.ISpeechVoice.Speak
如何使用语音库你在wndows服务?
but when use same code in my windows service application it give error
System.Runtime.InteropServices.COMException (0x8004503A): Exception from HRESULT: 0x8004503A at SpeechLib.ISpeechVoice.Speak
how to use speech library in wndows service?
这篇关于Web应用程序中的SpeechLib引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文