資源簡介
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編譯
評論
共有 條評論