directaccesshd.cpp

来自「如何直接安全访问硬盘数据?」· C++ 代码 · 共 43 行

CPP
43
字号
#include "stdafx.h"
#include "DirectAccessHD.h"
#include "DirectAccessHDDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


BEGIN_MESSAGE_MAP(CDirectAccessHDApp, CWinApp)
	//{{AFX_MSG_MAP(CDirectAccessHDApp)
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()


CDirectAccessHDApp::CDirectAccessHDApp()
{
}


CDirectAccessHDApp theApp;


BOOL CDirectAccessHDApp::InitInstance()
{
	AfxEnableControlContainer();

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif

	CDirectAccessHDDlg dlg;
	m_pMainWnd = &dlg;
	dlg.DoModal();

	return FALSE;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?