Erichcom
October 10th, 2004, 02:49 PM
I use the following code to play an AVI file in VC++ 6.0 but it seems not working in VC++.NET:
void CMediaPlayer_DialogDlg::OnBnClickedPlay()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
mciSendString("play "+m_pathname,NULL,0,NULL);
}
or is there any library that i have to include at the beginning?
Can someone help me out? Thanks. (I'm new to VC++)
void CMediaPlayer_DialogDlg::OnBnClickedPlay()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
mciSendString("play "+m_pathname,NULL,0,NULL);
}
or is there any library that i have to include at the beginning?
Can someone help me out? Thanks. (I'm new to VC++)