資源簡介
網絡主機的存活性探測系統設計與實現 MFC程序設計

代碼片段和文件信息
//?326.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“326.h“
#include?“326Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy326App
BEGIN_MESSAGE_MAP(CMy326App?CWinApp)
//{{AFX_MSG_MAP(CMy326App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMy326App?construction
CMy326App::CMy326App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy326App?object
CMy326App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy326App?initialization
BOOL?CMy326App::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
CMy326Dlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1550??2007-02-02?17:12??agang326\326.clw
?????文件???????3531??2007-02-03?18:59??agang326\ReadMe.txt
?????文件???????1301??2007-02-03?18:59??agang326\326.h
?????文件???????2043??2007-02-03?18:59??agang326\326.cpp
?????文件???????1054??2007-02-03?18:59??agang326\StdAfx.h
?????文件????????205??2007-02-03?18:59??agang326\StdAfx.cpp
?????文件???????4831??2009-06-15?01:55??agang326\326.dsp
?????文件????????514??2007-02-03?18:59??agang326\326.dsw
?????文件??????99328??2007-02-02?17:27??agang326\326.ncb
?????文件???????1680??2007-02-02?17:12??agang326\326.plg
?????文件????????395??2007-02-03?18:59??agang326\res\326.rc2
?????文件???????1078??2007-02-03?18:59??agang326\res\326.ico
????..A.SH.?????13312??2009-06-14?13:06??agang326\res\Thumbs.db
?????文件???????1078??2009-06-15?00:50??agang326\res\icon1.ico
?????文件???????1270??2009-06-15?00:50??agang326\res\bitmap1.bmp
?????文件???????1318??2009-06-15?00:50??agang326\res\781.bmp
?????文件???????1334??2009-06-15?00:50??agang326\res\LIVEPORT.bmp
?????文件???????1334??2009-06-15?00:50??agang326\res\921.bmp
?????文件???????2102??2009-06-15?00:50??agang326\res\bitmap2.bmp
?????文件???????1334??2009-06-15?00:50??agang326\res\Deadhost.bmp
?????文件???????1334??2009-06-15?00:50??agang326\res\host.bmp
?????文件???????2102??2009-06-15?00:50??agang326\res\ICON.bmp
?????文件???????1334??2009-06-15?00:50??agang326\res\Livehost.bmp
?????文件???????1771??2009-06-15?01:11??agang326\326Dlg.h
?????文件???????2005??2009-06-15?01:12??agang326\Resource.h
?????文件????????708??2009-06-14?00:50??agang326\tagICMP.h
?????文件???????6911??2007-02-02?14:35??agang326\326.rc
?????文件??????54236??2007-02-02?14:35??agang326\326.aps
?????文件??????12456??2007-02-02?17:12??agang326\326Dlg.cpp
?????文件??????17776??2007-02-02?17:12??agang326\Debug\326.res
............此處省略16個文件信息
評論
共有 條評論