基于VLC的MFC播放器


基于VLC(2.1.0)开发的MFC播放器,详情:http://www.cnblogs.com/luxiaoxun/p/3462153.html
资源截图
代码片段和文件信息

// MyPlayer.cpp : 定义应用程序的类行为。
//

#include “stdafx.h“
#include “MyPlayer.h“
#include “MyPlayerDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CMyPlayerApp

BEGIN_MESSAGE_MAP(CMyPlayerApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CMyPlayerApp 构造

CMyPlayerApp::CMyPlayerApp()
{
// 支持重新启动管理器
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;

// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}


// 唯一的一个 CMyPlayerApp 对象

CMyPlayerApp theApp;


// CMyPlayerApp 初始化

BOOL CMyPlayerApp::InitInstance()
{
// 如果一个运行在 Windows XP 上的应用程序清单指定要
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
//则需要 InitCommonControlsEx()。否则,将无法创建窗口。
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// 将它设置为包括所有要在应用程序中使用的
// 公共控件类。
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

// 创建 shell 管理器,以防对话框包含
// 任何 shell 树视图控件或 shell 列表视图控件。
CShellManager *pShellManager = new CShellManager;

// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移除下列
// 不需要的特定初始化例程
// 更改用于存储设置的注册表项
// TODO: 应适当修改该字符串,
// 例如修改为公司或组织名
SetRegistryKey(_T(“应用程序向导生成的本地应用程序“));

CMyPlayerDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: 在此放置处理何时用
//  “确定”来关闭对话框的代码
}
else if (nResponse == IDCANCEL)
{
// TODO: 在此放置处理何时用
//  “取消”来关闭对话框的代码
}

// 删除上面创建的 shell 管理器。
if (pShellManager != NULL)
{
delete pShellManager;
}

// 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序,
//  而不是启动应用程序的消息泵。
return FALSE;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     113664  2013-10-14 20:53  MyPlayerDebuglibvlc.dll

     文件    2341888  2013-10-14 20:53  MyPlayerDebuglibvlccore.dll

     文件     245760  2013-12-06 21:16  MyPlayerDebugMyPlayer.exe

     文件    1445588  2013-12-06 21:16  MyPlayerDebugMyPlayer.ilk

     文件    5303296  2013-12-06 21:16  MyPlayerDebugMyPlayer.pdb

     文件      35840  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_attachment_plugin.dll

     文件     100352  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_bd_plugin.dll

     文件      74240  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_ftp_plugin.dll

     文件     117248  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_http_plugin.dll

     文件      48128  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_imem_plugin.dll

     文件      73216  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_mms_plugin.dll

     文件      41984  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_rar_plugin.dll

     文件      96256  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_realrtsp_plugin.dll

     文件      39424  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_smb_plugin.dll

     文件      35840  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_tcp_plugin.dll

     文件      36352  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_udp_plugin.dll

     文件      76288  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibaccess_vdr_plugin.dll

     文件     162304  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibcdda_plugin.dll

     文件     246784  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibdshow_plugin.dll

     文件     215552  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibdtv_plugin.dll

     文件     258560  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibdvdnav_plugin.dll

     文件     182784  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibdvdread_plugin.dll

     文件      46592  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibfilesystem_plugin.dll

     文件      36864  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibidummy_plugin.dll

     文件    2029568  2013-10-14 20:53  MyPlayerDebugpluginsaccessliblibbluray_plugin.dll

     文件     624640  2013-10-14 20:53  MyPlayerDebugpluginsaccessliblive555_plugin.dll

     文件     433152  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibrtp_plugin.dll

     文件      43520  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibscreen_plugin.dll

     文件      34816  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibsdp_plugin.dll

     文件      39424  2013-10-14 20:53  MyPlayerDebugpluginsaccesslibshm_plugin.dll

............此处省略423个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)