public MainDlg() { InitializeComponent(); try { m_pPlayer = new ClipPlayer(this.Handle, MSG_ENDOFSEGMENT, MSG_DSEVENT); m_bTracking = false; m_State = FilterState.Stopped; } catch { MessageBox.Show("Please register GMFBridge.DLL with regsvr32"); } }