Creating a MIME Filter to cache Files
- From: "David Stidolph"<dstidolph@xxxxxxxxxxxxxxx>
- Date: Fri, 21 Oct 2005 15:19:47 -0500
I'm writing some code to cache web files for an application.
I have a DLL (C++) with a Web Control. When it loads a web page I want to
cache all files involved with the web page.
I call CoInternetGetSession and RegisterMimeFilter successfully. My class
factory is called to create an object that handles IInternetProtocol and
IInternetProtocolSink.
My new object gets the Start call and I QueryInterface on the passed in
IInternetProtocolSink to get the IInternetProtocol object and call
GetBindString to get the URL. My Start method returns S_OK.
Problem is that no other function but Release is called on my object - I do
NOT get calls to ReportProgress or ReportData.
My ultimate goal is to cache all files for a given web page - like a proxy
server, but do it just for my application.
Suggestions? Questions??
Thanks in advance,
David Stidolph
Austin, TX
.
- Prev by Date: Navigation Redirection With Frames
- Next by Date: Problem using MIME filter
- Previous by thread: Navigation Redirection With Frames
- Next by thread: Problem using MIME filter
- Index(es):
Relevant Pages
|
|