Here are parts of the log file documenting the problem:
035F2A20 CInternetExplorerBHO::SetSite(Connect)
035F4908 InternetProtocolFactory::InternetProtocolFactory
035F4908 InternetProtocolFactory::AddRef 1
035F4908 InternetProtocolFactory::AddRef 2
035F4908 InternetProtocolFactory::AddRef 3
035F4908 InternetProtocolFactory::CreateInstance
035F9F70 InternetProtocol::InternetProtocol
035F9F70 InternetProtocol::AddRef 1
035F9F70 InternetProtocol::QueryInterface(IID_IInternetProtocol)
035F9F70 InternetProtocol::AddRef 2
035F4908 InternetProtocolFactory::Release 2
035F9F70 InternetProtocol::Release 1
035F9F70 InternetProtocol::QueryInterface(IID_IInternetProtocolEx)
035F9F70 InternetProtocol::AddRef 2
035F9F70 InternetProtocol::AddRef 3
035F9F70 InternetProtocol::IInternetProtocolEx::StartEx
035F9F70 InternetProtocol::Release 2
035F9F70 InternetProtocol::Release 1
035F9F70 InternetProtocol::Continue
035F9F70 InternetProtocol::Read 2048 137
035F9F70 InternetProtocol::Read 1911 0
035F9F70 InternetProtocol::Read 8055 0
035F9F70 InternetProtocol::LockRequest
035F9F70 InternetProtocol::QueryInterface(IID_IWinInetHttpInfo)
035F9F70 InternetProtocol::AddRef 2
035F9F70 InternetProtocol::IWinInetHttpInfo.QueryInfo 00000001 1
035F9F70 InternetProtocol::Release 1
035F9F70 InternetProtocol::Read 8055 0
035F9F70 InternetProtocol::Read 8055 0
035F9F70 InternetProtocol::Read 8192 0
035F9F70 InternetProtocol::Terminate
035F9F70 InternetProtocol::UnlockRequest
035F2A20 CInternetExplorerBHO::SetSite(Disconnect)
Any help is appreciated. Thanks.
Do you call IInternetProtocolSink::ReportResult?
--
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
Yes, the original IInternetProtocol calls
IInternetProtocolSink::ReportResult after I forward
IInternetProtocol::Read for the first time. My wrapper around
IInternetProtocolSink is correctly released after forwarding
IInternetProtocol::UnlockRequest. I removed my IInternetProtocolSink
wrapper during debugging but this had no effect on the leak.
I guess I have to take another look at the Passthrough App, if it does
not suffer from the same problem.
Markus
Not to the best of my knowlege.