Re: modify html code on the fly



chris.sell@xxxxxxxxx wrote:
Thanks for the advice. I did read those article and have worked with
the sample MIME filter from microsoft's site.
Rather then rendering the website, IE is now just
displaying the html in its raw format.

You must call
IInternetProtocolSink::ReportProgress(BINDSTATUS_MIMETYPEAVAILABLE) to
report the MIME type of the data you are providing. In your case, it's
the same type you are consuming, namely text/html.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.