資源簡介
開發平臺:
windows XP SP2
Visual Studio.net 2003

代碼片段和文件信息
//?FireWallIDE.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“FireWallIDE.h“
#include?“FireWallIDEDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CFireWallIDEApp
BEGIN_MESSAGE_MAP(CFireWallIDEApp?CWinApp)
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
//?CFireWallIDEApp?構造
CFireWallIDEApp::CFireWallIDEApp()
{
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CFireWallIDEApp?對象
CFireWallIDEApp?theApp;
//?CFireWallIDEApp?初始化
BOOL?CFireWallIDEApp::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControls()。否則,將無法創建窗口。
InitCommonControls();
CWinApp::InitInstance();
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}
AfxEnableControlContainer();
//?標準初始化
//?如果未使用這些功能并希望減小
//?最終可執行文件的大小,則應移除下列
//?不需要的特定初始化例程
//?更改用于存儲設置的注冊表項
//?TODO:?應適當修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應用程序向導生成的本地應用程序“));
CFireWallIDEDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時用“確定”來關閉
//對話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時用“取消”來關閉
//對話框的代碼
}
//?由于對話框已關閉,所以將返回?FALSE?以便退出應用程序,
//?而不是啟動應用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????178??2007-01-24?14:05??第20章??簡單防火墻功能程序\簡單防火墻\code\DataAndConst.h
?????文件??????61220??2007-01-24?22:17??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.aps
?????文件???????1611??2006-12-01?08:00??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.cpp
?????文件????????467??2006-12-01?08:00??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.h
?????文件????1444864??2007-05-08?15:30??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.ncb
?????文件????????911??2007-01-24?13:46??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.sln
?????文件???????8192??2007-05-08?15:30??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.suo
?????文件???????5056??2007-01-24?13:47??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDE.vcproj
?????文件??????11508??2007-01-26?10:15??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDEDlg.cpp
?????文件???????1338??2007-01-24?17:01??第20章??簡單防火墻功能程序\簡單防火墻\code\FireWallIDEDlg.h
?????文件???????1367??2006-12-02?08:00??第20章??簡單防火墻功能程序\簡單防火墻\code\resource.h
?????文件???????2761??2007-01-24?22:19??第20章??簡單防火墻功能程序\簡單防火墻\code\SetFilterDialog.cpp
?????文件????????822??2007-01-24?22:17??第20章??簡單防火墻功能程序\簡單防火墻\code\SetFilterDialog.h
?????文件????????140??2006-12-01?08:00??第20章??簡單防火墻功能程序\簡單防火墻\code\stdafx.cpp
?????文件???????1562??2006-12-01?08:00??第20章??簡單防火墻功能程序\簡單防火墻\code\stdafx.h
?????文件?????253952??2007-05-08?15:30??第20章??簡單防火墻功能程序\簡單防火墻\Exe\FireWallIDE.exe
?????文件?????127488??2007-06-27?17:16??第20章??簡單防火墻功能程序\簡單防火墻\使用說明.doc
????...D..R?????????0??2009-04-16?15:10??第20章??簡單防火墻功能程序\簡單防火墻\code
????...D..R?????????0??2009-04-16?15:10??第20章??簡單防火墻功能程序\簡單防火墻\Exe
????...D..R?????????0??2009-04-16?15:10??第20章??簡單防火墻功能程序\簡單防火墻
????...D..R?????????0??2009-04-16?15:10??第20章??簡單防火墻功能程序
-----------?---------??----------?-----??----
??????????????1923437????????????????????21
- 上一篇:n階漢諾塔源代碼與演示程序
- 下一篇:C8051F040開發板原理圖
評論
共有 條評論