資源簡介
VC++制作程序安裝向導完整源碼實現,制作自制安裝包,單步進入操作向導安裝程序流程。

代碼片段和文件信息
//?dog.cpp?:?Defines?the?class?behaviors?for?the?application.
//?Download?by?http://www.codefans.net
#include?“stdafx.h“
#include?“dog.h“
#include?“dogDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDogApp
BEGIN_MESSAGE_MAP(CDogApp?CWinApp)
//{{AFX_MSG_MAP(CDogApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDogApp?construction
CDogApp::CDogApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDogApp?object
CDogApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDogApp?initialization
BOOL?CDogApp::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
CDogDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????82944??2001-08-22?00:00??VC++_InstallGuid\CLOCK.AVI
?????文件??????25192??2009-12-22?16:31??VC++_InstallGuid\dog.aps
?????文件???????4119??2009-12-22?16:31??VC++_InstallGuid\dog.clw
?????文件???????2057??2009-12-22?16:37??VC++_InstallGuid\dog.cpp
?????文件???????4724??2003-12-07?11:32??VC++_InstallGuid\dog.dsp
?????文件????????529??2003-11-22?11:53??VC++_InstallGuid\dog.dsw
?????文件???????1291??2003-11-22?11:26??VC++_InstallGuid\dog.h
?????文件??????10280??2003-12-07?12:34??VC++_InstallGuid\dog.rc
?????文件???????4577??2009-12-22?16:37??VC++_InstallGuid\dogDlg.cpp
?????文件???????1360??2003-11-22?14:26??VC++_InstallGuid\dogDlg.h
?????文件???????7807??2009-12-22?16:37??VC++_InstallGuid\MyDlg2.cpp
?????文件???????1444??2003-12-05?21:05??VC++_InstallGuid\MyDlg2.h
?????文件???????3096??2009-12-22?16:37??VC++_InstallGuid\MyDlg3.cpp
?????文件???????1304??2003-12-05?21:44??VC++_InstallGuid\MyDlg3.h
?????文件???????3546??2009-12-22?16:37??VC++_InstallGuid\MyDlg4.cpp
?????文件???????1340??2003-12-06?23:08??VC++_InstallGuid\MyDlg4.h
?????文件???????2985??2009-12-22?16:37??VC++_InstallGuid\MyDlg5.cpp
?????文件???????1336??2003-12-07?11:11??VC++_InstallGuid\MyDlg5.h
?????文件???????5123??2009-12-22?16:37??VC++_InstallGuid\ProgDlg.cpp
?????文件???????1655??2003-12-07?12:40??VC++_InstallGuid\ProgDlg.h
?????文件????????150??2013-07-31?09:48??VC++_InstallGuid\ReadMe.txt
?????文件???????1078??2003-11-22?11:35??VC++_InstallGuid\res\dog.ico
?????文件????????395??2003-11-22?11:26??VC++_InstallGuid\res\dog.rc2
?????文件???????2099??2003-12-07?12:31??VC++_InstallGuid\resource.h
?????文件????????243??2009-12-22?16:37??VC++_InstallGuid\StdAfx.cpp
?????文件???????1054??2003-11-22?11:26??VC++_InstallGuid\StdAfx.h
?????目錄??????????0??2009-12-22?16:30??VC++_InstallGuid\res
?????目錄??????????0??2009-12-22?16:35??VC++_InstallGuid
-----------?---------??----------?-----??----
???????????????171728????????????????????28
............此處省略1個文件信息
- 上一篇:c++常用代碼
- 下一篇:用C語言實現高斯-賽德爾迭代方法
評論
共有 條評論