Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
633 views
in Technique[技术] by (71.8m points)

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

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++.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...