資源簡介
VC端口掃描源代碼,易懂使用,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

代碼片段和文件信息
//?ScanPort.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ScanPort.h“
#include?“ScanPortDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CScanPortApp
BEGIN_MESSAGE_MAP(CScanPortApp?CWinApp)
//{{AFX_MSG_MAP(CScanPortApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CScanPortApp?construction
CScanPortApp::CScanPortApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CScanPortApp?object
CScanPortApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CScanPortApp?initialization
BOOL?CScanPortApp::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
CScanPortDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????5153792??2009-12-16?18:30??ScanPort\Debug\ScanPort.bsc
?????文件?????114788??2009-12-16?18:30??ScanPort\Debug\ScanPort.exe
?????文件?????262896??2009-12-16?18:30??ScanPort\Debug\ScanPort.ilk
?????文件??????15422??2009-12-16?18:25??ScanPort\Debug\ScanPort.obj
?????文件????6922164??2009-12-16?18:25??ScanPort\Debug\ScanPort.pch
?????文件?????402432??2009-12-16?18:30??ScanPort\Debug\ScanPort.pdb
?????文件???????3208??2009-12-16?18:24??ScanPort\Debug\ScanPort.res
?????文件??????????0??2009-12-16?18:25??ScanPort\Debug\ScanPort.sbr
?????文件??????52175??2009-12-16?18:30??ScanPort\Debug\ScanPortDlg.obj
?????文件??????????0??2009-12-16?18:30??ScanPort\Debug\ScanPortDlg.sbr
?????文件?????106896??2009-12-16?18:25??ScanPort\Debug\StdAfx.obj
?????文件????1385457??2009-12-16?18:25??ScanPort\Debug\StdAfx.sbr
?????文件?????214016??2010-03-29?11:35??ScanPort\Debug\vc60.idb
?????文件?????364544??2009-12-16?18:30??ScanPort\Debug\vc60.pdb
?????目錄??????????0??2010-03-28?23:51??ScanPort\Debug
?????文件?????????10??2010-03-29?11:35??ScanPort\DefaultPorts.txt
?????文件???????3615??2004-03-24?19:44??ScanPort\ReadMe111.txt
?????文件???????1078??2004-03-24?19:44??ScanPort\res\ScanPort.ico
?????文件????????400??2004-03-24?19:44??ScanPort\res\ScanPort.rc2
?????目錄??????????0??2009-12-16?18:25??ScanPort\res
?????文件???????1375??2004-03-30?19:59??ScanPort\resource.h
?????文件??????22148??2010-03-28?23:51??ScanPort\ScanPort.aps
?????文件???????1744??2010-03-29?11:35??ScanPort\ScanPort.clw
?????文件???????2091??2004-03-24?19:44??ScanPort\ScanPort.cpp
?????文件???????4196??2004-03-25?10:01??ScanPort\ScanPort.dsp
?????文件????????541??2004-03-24?19:44??ScanPort\ScanPort.dsw
?????文件???????1346??2004-03-24?19:44??ScanPort\ScanPort.h
?????文件??????66560??2010-03-29?11:35??ScanPort\ScanPort.ncb
?????文件??????69632??2010-03-29?11:35??ScanPort\ScanPort.opt
?????文件????????250??2009-12-16?19:20??ScanPort\ScanPort.plg
............此處省略13個文件信息
評論
共有 條評論