stormplayer控件在播放flv文件时,发现关闭播放后,未释放文件,导致CFile不能打开文件,怎么解决m_ttt.SetUrl("F:\\test.flv");
m_ttt.Play();m_ttt.close(); //关闭后打开文件CFile file;
if (!file.Open("F:\\test.flv",CFile::modeRead|CFile::typeBinary))
{
DWORD r = GetLastError(); //此错误为32(被其他程序占用,不能打开)
AfxMessageBox(":打开失败?");
return;
}
m_ttt.Play();m_ttt.close(); //关闭后打开文件CFile file;
if (!file.Open("F:\\test.flv",CFile::modeRead|CFile::typeBinary))
{
DWORD r = GetLastError(); //此错误为32(被其他程序占用,不能打开)
AfxMessageBox(":打开失败?");
return;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货