資源簡介
使用MFC編寫的計算MD5的程序,可以計算各種文件的MD5

代碼片段和文件信息
//?MD5.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MD5.h“
#include?“MD5Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMD5App
BEGIN_MESSAGE_MAP(CMD5App?CWinApp)
//{{AFX_MSG_MAP(CMD5App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMD5App?construction
CMD5App::CMD5App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMD5App?object
CMD5App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMD5App?initialization
BOOL?CMD5App::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
CMD5Dlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-10-27?13:44??MD5\
?????目錄???????????0??2011-10-27?13:44??MD5\Debug\
?????文件??????118863??2011-10-27?13:44??MD5\Debug\MD5.exe
?????文件??????221508??2011-10-27?13:44??MD5\Debug\MD5.ilk
?????文件???????13906??2011-10-26?21:31??MD5\Debug\MD5.obj
?????文件?????5498600??2011-10-26?21:31??MD5\Debug\MD5.pch
?????文件??????377856??2011-10-27?13:44??MD5\Debug\MD5.pdb
?????文件????????2668??2011-10-27?13:44??MD5\Debug\MD5.res
?????文件???????62679??2011-10-26?21:50??MD5\Debug\MD5Dlg.obj
?????文件??????105846??2011-10-26?21:31??MD5\Debug\StdAfx.obj
?????文件??????238592??2011-10-27?13:44??MD5\Debug\vc60.idb
?????文件??????454656??2011-10-26?21:50??MD5\Debug\vc60.pdb
?????文件????????8520??2011-10-26?21:30??MD5\MD5?Algorithm.h
?????文件???????35772??2011-10-27?13:44??MD5\MD5.APS
?????文件????????2021??2011-10-26?16:43??MD5\MD5.cpp
?????文件????????4175??2011-10-26?17:09??MD5\MD5.dsp
?????文件?????????514??2011-10-26?16:43??MD5\MD5.dsw
?????文件????????1291??2011-10-26?16:43??MD5\MD5.h
?????文件???????58368??2011-10-27?13:44??MD5\MD5.ncb
?????文件???????48640??2011-10-27?13:44??MD5\MD5.opt
?????文件?????????679??2011-10-27?13:44??MD5\MD5.plg
?????文件????????5550??2011-10-27?13:44??MD5\MD5.rc
?????文件????????5047??2011-10-26?21:50??MD5\MD5Dlg.cpp
?????文件????????1379??2011-10-26?16:59??MD5\MD5Dlg.h
?????文件????????3525??2011-10-26?16:43??MD5\ReadMe.txt
?????文件?????????205??2011-10-26?16:43??MD5\StdAfx.cpp
?????文件????????1054??2011-10-26?16:43??MD5\StdAfx.h
?????目錄???????????0??2011-10-26?16:43??MD5\res\
?????文件????????1078??2011-10-26?16:43??MD5\res\MD5.ico
?????文件?????????395??2011-10-26?16:43??MD5\res\MD5.rc2
?????文件?????????819??2011-10-26?16:59??MD5\resource.h
............此處省略0個文件信息
評論
共有 條評論