[英]Error loading Microsoft Speech SDK v11
I have installed the x86 SDK and added the Microsoft.Speech.dll to my project. 我已经安装了x86 SDK并将Microsoft.Speech.dll添加到我的项目中。 The project is set to x86.
该项目设置为x86。
When trying to create a instance of SpeechSynthesizer
I get 在尝试创建
SpeechSynthesizer
的实例时,我得到了
Retrieving the COM class factory for component with CLSID {D941651C-44E6-4C17-BADF-C36826FC3424} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
由于以下错误,检索具有CLSID {D941651C-44E6-4C17-BADF-C36826FC3424}的组件的COM类工厂失败:80040154未注册类(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG))。
What more can cause those then wrong target platform? 还有什么可以导致那些错误的目标平台?
I resolved these issues a few minutes ago: 几分钟前我解决了这些问题:
-Download and using Microsoft Speech SDK 32 bit (By this way you can use in both platforms) - 下载和使用Microsoft Speech SDK 32位(通过这种方式,您可以在两个平台中使用)
And the most important is to install these files : 最重要的是安装这些文件:
-In Microsoft Speech SDK: - 在Microsoft Speech SDK中:
C:\Program Files (x86)\Microsoft SDKs\Speech\v11.0\Redist\SpeechPlatformRuntime.msi
-In Microsoft Speech Platform - Runtime Languages: - 在Microsoft Speech Platform中 - 运行时语言:
https://www.microsoft.com/en-us/download/details.aspx?id=27224
MSSpeech_SR_en-US_TELE.msi (using for Speech To Text)
MSSpeech_TTS_en-US_ZiraPro.msi (using for Text To Speech)
That done. 完成了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.