Can't play the avi file by using video control
Hi all,
I am newbie in the directshow and atl using, so I've created the project in the VC2005 as described in the following article:http://msdn2.microsoft.com/en-gb/library/ms787848.aspx.
Then I added event handler to the CMyControl class like this
void
__stdcall CMyControl::DblClickMsvidctl1(){CComPtr<IMSVidCtl> pVidControl;
CComVariant var(OLESTR(
"C:\\skiing.avi"));GetDlgControl(IDC_MSVIDCTL1,
__uuidof(IMSVidCtl),reinterpret_cast<void **>(&pVidControl));HRESULT hr = pVidControl->View(&var);
}
hr returns S_OK, but avi doesn't play. Please point me where I am wrong?

