Hello Mr Kissel,
I was wondering if you may help me a bit with the MCI wrapper you posted here in codeproject.
I wanted to open the file with a CFile after it is played but an access error occurs.
I put an MM_MCINOTIFY callback like this:
LRESULT CWrapperDlg::OnMCIWnd_Notify(WPARAM wParam, LPARAM lParam)
{
m_mciWnd.Close();
CFile kFile;
CFileException kE;
if(kFile.Open(MakePathToInstalledFile(_T("CLOCKTXT.AVI")), CFile::modeRead, &kE))
kFile.Close();
return 0;
}
It fails with an access violation, it seems that the file is still busy.
Could you help me??
Thanks a lot
Emanuele Russo