如何分别使用mshtml接口 [英] How can I use mshtml interfaces separately

查看:60
本文介绍了如何分别使用mshtml接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我正在用C#完成一个项目,它使用了mshtml.问题是,dll大小约为8MB,沉重地包含在项目路径中,而我的客户没有librarie.该项目使用mshtml HTMLDocument和HTMLElements的两个接口,因此仅使用这两个接口就占用了8MB的空间.

Hi everyone! I''m finishing a project in c# and it uses mshtml. The problem, the dll size is around 8MB, is to heavy to include in the project path and my clients doesn''t have the librarie. The project uses two interfaces of mshtml HTMLDocument and HTMLElements so the 8MB are a lot just for using those two interfaces. Is there a way to include the interfaces separately from mshtml?

推荐答案

dsfernandez写道:
dsfernandez wrote:

有没有一种方法可以独立于mshtml

Is there a way to include the interfaces separately from mshtml


来包含接口
取决于那意味着什么.当然,您可以为这些接口创建自己的托管定义,但您的应用仍将依赖IE进行html处理.



Depends on what that means. Of course you could create your own managed definitions of these interfaces but your app still will rely on IE for html processing.


这篇关于如何分别使用mshtml接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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