|
|
|
date: Tue, 30 Jan 2007 00:10:08 -0000,
group: microsoft.public.platformsdk.com_ole
back
Re: MIME handler
Hi Igor,
Sorry, you've lost me too :-). I'm not sure what you dont understand so I will reiterate. Forgive me if I am a little long winded.
The sample you suggested (MIMEfilt) does not show how to draw the page on the screen but simply illustrates how to deliver the
content to the MIME handler (which does the drawing). I need an example of a MIME *handler* (aka "default MIME type player") not a
MIME *filter*, i.e. what a MIME filter delivers the content to." (I already have a sort of MIME filter in the form of a Pluggable
Protocol Handler so know how to do that bit).
I found an example of a MIME handler - MIMEtype (http://support.microsoft.com/kb/165072), but it is MFC and uses OLE rather than
COM.
I guess I cannot avoid an "ActiveX control" in MS Windows as a MIME handler. Perhaps my reference to wanting to misled you. I really
wished to avoid MFC and OLE.
I wanted either an example of a MIME handler using COM or a hint which wizard I should use to create a COM project that handles the
other side of the IInternetProtocol interface, i.e. is on the (eventual) receiving end of the Read(void *pv,ULONG cb,ULONG *pcbRead)
that a MIME filter handles to deliver the content to URLMON (which passes it on to the MIME handler to draw).
Regards,
Jan
"Igor Tandetnik" wrote in message news:OqnHaRIRHHA.2252@TK2MSFTNGP02.phx.gbl...
> Jan M wrote:
> > As far as I can see MIMEfilt takes the data from the source and,
> > having converted it, sends it to what I need to write - the MIME
> > handler that draws the page. I already have a Pluggable Protocol
> > Handler the takes the data from the source and put it in an IE cache
> > file.
> >
> > I found a MIME handler example - MIMEtype which is an ActiveX control
> > in MFC. I really wanted to avoid both if I could.
> >
> > Any other ideas for a COM object IE plugin?
>
> You thoroughly lost me here. This passage makes no sense to me, sorry. I
> have absolutely no idea what you are trying to do.
> --
> 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
>
>
date: Tue, 30 Jan 2007 20:40:29 -0000
author: Jan M
|
|