void CleeDlg::OnSize(UINT nType, int cx, int cy) 
{
CDialog::OnSize(nType, cx, cy);

// TODO: Add your message handler code here
pWnd = GetDlgItem( IDC_SLIDER);    //获取控件指针, IDC_SLIDER为控件ID号
 CRect rc1,rc2,rc3;
   GetWindowRect(rc2);
m_ActiveMovie.GetWindowRect(rc1);
 
   //得到ActiveMovie控件大小 }
可以正常编译很奇怪会弹出出错信息
去掉m_ActiveMovie.GetWindowRect(rc1);后正常
请问这是什么原因