MSHTML DLL在Windows 10 [英] MSHTML DLL on Windows 10

查看:167
本文介绍了MSHTML DLL在Windows 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C#解决方案,使得使用史密斯的HTML编辑器(我在使用这种主体工程开发的,所以我不知道很多关于这个库),这使得MSHTML的引用。这种精细的工作,直到我升级到Windows 10并不能找到MSHTML了。我可以直接引用的DLL的GAC文件夹,它停止抱怨,从而构建,但它越来越涉及到编辑器不实例化一些运行时错误。

I have a C# solution that makes use of Smith Html Editor (I'm developing on the main project which uses this, so I don't know much about this library), which makes a reference to MSHTML. This worked fine until my upgrade to Windows 10 and it can't find MSHTML anymore. I can directly reference the DLL on the GAC folder, and it stops complaining and thus builds, but it's getting some runtime errors related to the editor not instantiating.

在一个小研究,事实证明,MSHTML被淘汰的Windows 10,因为它现在使用EdgeHTML。没有人有任何想法,我怎么能去解决此问题?

After a little research, it turns out that MSHTML is phased out of Windows 10 as it now uses EdgeHTML. Does anyone have any idea how I can go around this?

该解决方案还适用于Windows 7。

The solution still works for Windows 7.

推荐答案

我有完全相同的问题。添加C:\windows\system32\mshtml.tlb工作。注意这不是DLL,但TLB。非常感谢你的提问,并感谢您汉斯,的答案:)

I had the exact same problem. Adding the c:\windows\system32\mshtml.tlb worked. Note it's NOT the dll, but the tlb. Thank you so much for asking this question and thank you Hans, for the answer :)

这篇关于MSHTML DLL在Windows 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆