How do I write an IE 8 Add-On in pure managed C#

三世轮回 提交于 2019-12-17 18:48:15

问题


I would like to write an add-on for IE 8, but I want to use pure managed C#. Is this possible yet? I know for the longest time we were talking only C++.


回答1:


Ultimately, the C# will end up calling into IE8's COM functions. There's a framework called Spicie that makes this easier, and some other examples here: http://www.enhanceie.com/ie/dev.asp

Generally, it's a bad idea to write browser extensions in .NET because there's a severe performance impact, and there's the possibility of runtime collisions because only one version of .NET can be loaded into a process currently; if two addons want to use conflicting .NET versions, one will fail.




回答2:


Have a look at this

http://code.msdn.microsoft.com/SpicIE




回答3:


This question is quite old now, but posting this just in case someone find it useful. =)

I have another answer here on SO about how to make IE 8 add-ins using C#:

How to get started with developing Internet Explorer extensions?



来源:https://stackoverflow.com/questions/1161489/how-do-i-write-an-ie-8-add-on-in-pure-managed-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!