Re: PassthruAPP: QueryServiceFromClient(&spWindowForBinding); returns null for Media player request ?



Well, i changes the Switch from OnResponse to BeginTransaction and i
dont get that error anymore but the window i get in GetWindow is null
:(

Adrian wrote:
It seems like m_spInternetProtocolSink is initialized in
IInternetProtocolSinkImpl::OnStart
only, and there are are assersions for it to be not null in every other
method, i just dont get it whats wrong with Continue maybe i do
something wrong:


-----CTestSink::OnResponse----
PROTOCOLDATA protdata;
protdata.grfFlags = PD_FORCE_SWITCH;
Switch(&protdata);

-------CTestAPP::Continue-------
CComPtr<IWindowForBindingUI> spWindowForBinding;
HRESULT hr =
m_internetSink.QueryServiceFromClient(&spWindowForBinding);

That is mostly it...if anyone got any ideas, please help ?
Maybe i got an old toolkit ?

.



Relevant Pages