資源簡介
利用MFC和SQL數據庫實現一個資源管理系統

代碼片段和文件信息
//?CRDBS.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CRDBS.h“
#include?“CRDBSDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCRDBSApp
BEGIN_MESSAGE_MAP(CCRDBSApp?CWinApp)
//{{AFX_MSG_MAP(CCRDBSApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCRDBSApp?construction
CCRDBSApp::CCRDBSApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCRDBSApp?object
CCRDBSApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCRDBSApp?initialization
BOOL?CCRDBSApp::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
CCRDBSDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
}
else?if?(nResponse?==?IDCANCEL)
{
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????31684??2009-04-13?13:47??CHAP04\code\CRDBS\CRDBS.APS
?????文件???????5820??2009-04-13?13:47??CHAP04\code\CRDBS\CRDBS.clw
?????文件???????1881??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.cpp
?????文件???????4878??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.dsp
?????文件????????535??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.dsw
?????文件???????1313??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.h
?????文件?????353280??2009-04-13?13:47??CHAP04\code\CRDBS\CRDBS.ncb
?????文件??????49664??2009-04-13?13:47??CHAP04\code\CRDBS\CRDBS.opt
?????文件???????2082??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.plg
?????文件??????13268??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBS.rc
?????文件??????39647??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBSDlg.cpp
?????文件???????3795??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBSDlg.h
?????文件???????1861??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBSLogin.cpp
?????文件???????1264??2006-05-29?08:51??CHAP04\code\CRDBS\CRDBSLogin.h
?????文件?????188483??2008-11-06?15:49??CHAP04\code\CRDBS\Debug\CRDBS.exe
?????文件?????302176??2008-11-06?15:49??CHAP04\code\CRDBS\Debug\CRDBS.ilk
?????文件??????18523??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBS.obj
?????文件????7171220??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBS.pch
?????文件?????484352??2008-11-06?15:49??CHAP04\code\CRDBS\Debug\CRDBS.pdb
?????文件???????6336??2008-11-06?15:49??CHAP04\code\CRDBS\Debug\CRDBS.res
?????文件???????6238??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBS.sbr
?????文件?????200625??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBSDlg.obj
?????文件??????32003??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBSDlg.sbr
?????文件??????20536??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBSLogin.obj
?????文件???????7349??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\CRDBSLogin.sbr
?????文件??????56270??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\DetailQueryDlg.obj
?????文件???????9253??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\DetailQueryDlg.sbr
?????文件??????30597??2008-11-06?14:38??CHAP04\code\CRDBS\Debug\StatQueryDlg.obj
?????文件???????6322??2008-11-06?14:38??CHAP04\code\CRDBS\Debug\StatQueryDlg.sbr
?????文件?????107368??2008-08-26?09:30??CHAP04\code\CRDBS\Debug\StdAfx.obj
............此處省略34個文件信息
- 上一篇:RSA加密算法用MFC實現
- 下一篇:MFC畫圖,溫度和濕度曲線含源碼
評論
共有 條評論