a***@gmail.com
2009-05-19 19:29:44 UTC
Hello!
I implement my custom download manager. In IDownloadManager::Download
I do so:
RegisterBindStatusCallback (pbc, pBSC, &pBSC->m_pPrevCallback, 0);
IStream *pStream = NULL;
hr = pmk->BindToStorage (pbc, NULL, IID_IStream, (void**)&pStream);
pBSC - my own implementation of IBindStatusCallback.
In the same object I implemented IHttpNegotiate interface and
QueryInterface also to return the pointer to it.
But QueryInterface for IHttpNegotiate is never called. Thus
BeginningTransaction and OnResponse never called too.
Can somebody please help to resolve this?
I implement my custom download manager. In IDownloadManager::Download
I do so:
RegisterBindStatusCallback (pbc, pBSC, &pBSC->m_pPrevCallback, 0);
IStream *pStream = NULL;
hr = pmk->BindToStorage (pbc, NULL, IID_IStream, (void**)&pStream);
pBSC - my own implementation of IBindStatusCallback.
In the same object I implemented IHttpNegotiate interface and
QueryInterface also to return the pointer to it.
But QueryInterface for IHttpNegotiate is never called. Thus
BeginningTransaction and OnResponse never called too.
Can somebody please help to resolve this?