在中Visual Studio .NET 2003利用DirectShow播放媒体文件(三)[1]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 sunjin007 的 blog

cplaywnddlg的构造函数中添加初始化代码

cplaywnddlg::cplaywnddlg(cwnd* pparent /*=null*/)

    : cdialog(cplaywnddlg::idd, pparent)

{

    m_hicon = afxgetapp()->loadicon(idr_mainframe);

 

    m_pgraph      = null;

    m_pmediacontrol = null;

    m_pevent      = null;

    m_pmediaseeking = null;

 

    m_strmediafile = "";

    m_isplaying = false;

}

 

本文关键:DirectShow DirectX .NET 2003
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top