资源简介
VC++磁盘MBR读写程序,测试通过。请谨慎操作写功能。
代码片段和文件信息
//Download by http://www.NewXing.com
// RW_HDD.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “RW_HDD.h“
#include “RW_HDDDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRW_HDDApp
BEGIN_MESSAGE_MAP(CRW_HDDApp CWinApp)
//{{AFX_MSG_MAP(CRW_HDDApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRW_HDDApp construction
CRW_HDDApp::CRW_HDDApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CRW_HDDApp object
CRW_HDDApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CRW_HDDApp initialization
BOOL CRW_HDDApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CRW_HDDDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 512 2008-08-05 02:39 VC++ 读写磁盘\112
文件 103936 2017-04-25 17:06 VC++ 读写磁盘\Debug\RW_HDD.exe
....... 3579 2008-08-03 12:45 VC++ 读写磁盘\ReadMe.txt
....... 1078 2008-08-03 12:45 VC++ 读写磁盘\res\RW_HDD.ico
....... 398 2008-08-03 12:45 VC++ 读写磁盘\res\RW_HDD.rc2
文件 717 2017-04-25 16:51 VC++ 读写磁盘\resource.h
文件 40352 2017-04-25 16:51 VC++ 读写磁盘\RW_HDD.APS
....... 902 2008-09-02 16:37 VC++ 读写磁盘\RW_HDD.clw
文件 2101 2011-05-12 16:32 VC++ 读写磁盘\RW_HDD.cpp
....... 4159 2008-08-03 12:45 VC++ 读写磁盘\RW_HDD.dsp
....... 518 2008-08-03 12:45 VC++ 读写磁盘\RW_HDD.dsw
文件 1362 2011-05-12 16:32 VC++ 读写磁盘\RW_HDD.h
....... 50688 2008-09-02 16:39 VC++ 读写磁盘\RW_HDD.opt
....... 246 2008-09-02 16:22 VC++ 读写磁盘\RW_HDD.plg
文件 5015 2017-04-25 16:51 VC++ 读写磁盘\RW_HDD.rc
文件 1311 2017-04-25 16:54 VC++ 读写磁盘\RW_HDD.sln
..A..H. 26112 2017-04-25 17:06 VC++ 读写磁盘\RW_HDD.v12.suo
文件 14249 2017-04-25 16:55 VC++ 读写磁盘\RW_HDD.vcxproj
文件 1948 2017-04-25 16:33 VC++ 读写磁盘\RW_HDD.vcxproj.filters
文件 165 2017-04-25 16:54 VC++ 读写磁盘\RW_HDD.vcxproj.user
文件 6218 2017-04-25 16:56 VC++ 读写磁盘\RW_HDDDlg.cpp
文件 1669 2017-04-25 16:50 VC++ 读写磁盘\RW_HDDDlg.h
文件 246 2011-05-12 16:32 VC++ 读写磁盘\StdAfx.cpp
文件 1092 2011-05-12 16:32 VC++ 读写磁盘\StdAfx.h
目录 0 2017-05-23 13:40 VC++ 读写磁盘\Debug
目录 0 2008-09-20 00:07 VC++ 读写磁盘\res
目录 0 2017-05-23 13:40 VC++ 读写磁盘
----------- --------- ---------- ----- ----
268573 27
............此处省略0个文件信息
- 上一篇:ADS7809C语言程序
- 下一篇:货品的进销存管理系统,MFC编译
评论
共有 条评论