IBindStatusCallback and IHttpNegotiate
From: Tim Wallace (reply_at_this_group.com)
Date: 04/13/04
- Next message: rajas: "Checking availability of a server"
- Previous message: Philip: "ATL Server Compile Options"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Apr 2004 11:32:21 -0400
I thought I posted this yesterday, but I don't see any evidence of it in the
newsgroup, so here it is again.
I need to have a Browser Helper Object inspect inbound headers. After
digging around in documentation for a day, I determined that one could do
this by deriving the BHO from (among other things) IBindStatusCallback and
IHttpNegotiate. I've done so. Then, I create an async context like so:
hr = CreateAsyncBindCtx( 0, (IBindStatusCallback*)this, NULL,
(IBindCtx**)&m_ptrBindCtx );
The HRESULT indicates success. Next, I register the status callback, like
so:
hr = RegisterBindStatusCallback( m_ptrBindCtx, this,
(IBindStatusCallback**)&bscPrev, 0 );
This HRESULT is also successful. Here is where the problem comes in: none
of the methods in either IBindStatusCallback or IHttpNegotiate are being
called! Is there a step I'm missing? Has anyone had any experience trying
to read the inbound headers from Internet Explorer?
Help, please, as I am at the end of my rope on this one.
Tim Wallace
- Next message: rajas: "Checking availability of a server"
- Previous message: Philip: "ATL Server Compile Options"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|