IBindStatusCallback and IHttpNegotiate

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tim Wallace (reply_at_this_group.com)
Date: 04/13/04


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



Relevant Pages

  • problem when registering a directshow filter with regsvrce in windows 6
    ... I try to create and register a DirectShow filter for Windows mobile 5 or 6. ... This error report includes information regarding the condition of regsvr_arm.exe when problem occured. ... CSampleGrabber(LPUNKNOWN pUnk, HRESULT *phr); ...
    (microsoft.public.pocketpc.developer)
  • Re: WMT_ERROR, WMT_ERROR_WITHURL
    ... In fact I'm saying that if you call Open, and it returns success, you are ... > HRESULT from it, subsequently see a WMT_ERROR event, and then get ... >> have a failure HRESULT associated with it. ...
    (microsoft.public.windowsmedia.sdk)
  • I Cant register the custom directshow filter in debug entironment on Windows Mobile 5.0 device
    ... These exports are necessary in order for com to register the filter ... CSampleGrabber(LPUNKNOWN pUnk, HRESULT *phr); ... HRESULT CheckMediaType(const CMediaType *pMT); ... // this is needed for COM to register the component with RegSvr ...
    (microsoft.public.pocketpc.developer)
  • Re: IE Hyperlinks non-functional
    ... File loaded, dll register server entry point not found, ... but IE in user accounts has quit ... none of the links work. ... >> without success. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How to display a compose form dialog of mapi as non modal
    ... I am new to using mapi and im try to display a form with attachments ... BOOL bPromptLogin = FALSE, success = TRUE; ... HRESULT hResult = MAPIInitialize; ... hResult = pMsg -> GetProps ...
    (microsoft.public.win32.programmer.messaging)