Question

Anyone know of a good sample implementation of a Pluggable MIME Filter for IE, preferably implemented in C#? Or of a pluggable protocol handler?

thanks!

So far I have found

Was it helpful?

Solution

After working with Microsoft support for a couple of weeks, we determined that MIME filters written in .NET do not work correctly. There appear to be a number of thread-safety issues in the interop layers that cause random crashes of IE.

I've reimplemented my MIME filter in C++ following the same sample you linked to above, and it works fine.

OTHER TIPS

http://www.codeproject.com/aspnet/AspxProtocol.asp is my favorite. Note, however, that using .NET for a protocol handler is generally going to incur a pretty significant performance cost, and there may be a versioning problem if there are other .NET-based components attempting to run in the browser that require a different version of the CLR.

http://www.codeproject.com/KB/IP/DataProtocol.aspx is another option.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top