資源簡介
專家系統
代碼片段和文件信息
//?ADOConn.cpp:?implementation?of?the?ADOConn?class.
//
//////////////////////////////////////////////////////////////////////
#include?“stdafx.h“
#include?“ADOConn.h“
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////
ADOConn::ADOConn()
{
}
ADOConn::~ADOConn()
{
}
//初始化連接數據庫
void?ADOConn::OnInitADOConn()
{
//?初始化OLE/COM庫環境?
::CoInitialize(NULL);
?
try
{
//?創建Connection對象
m_pConnection.CreateInstance(“ADODB.Connection“);
//?設置連接字符串,必須是BSTR型或者_bstr_t類型
//_bstr_t?strConnect?=?“Provider=Microsoft.Jet.OLEDB.4.0;Data?Source=Material.mdb“;
//m_pConnection->Open(strConnect““““adModeUnknown);
?m_pConnection->Open(“Provid
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3687??2012-08-07?21:34??ExpertSystem\ReadMe.txt
?????文件???????1390??2012-08-07?21:34??ExpertSystem\ExpertSystem.h
?????文件????????214??2012-08-07?21:34??ExpertSystem\StdAfx.cpp
?????文件????????404??2012-08-07?21:34??ExpertSystem\res\ExpertSystem.rc2
?????文件???????1078??2012-08-07?21:34??ExpertSystem\res\ExpertSystem.ico
?????文件????????549??2012-08-07?21:34??ExpertSystem\ExpertSystem.dsw
?????文件???????1153??2012-08-08?00:13??ExpertSystem\StdAfx.h
?????文件???????7856??2012-08-08?20:52??ExpertSystem\ExpertSystem.vcproj
?????文件????????889??2012-08-08?20:52??ExpertSystem\ExpertSystem.sln
????..A..H.??????8192??2012-08-08?20:56??ExpertSystem\ExpertSystem.suo
?????文件???????1427??2012-08-08?20:56??ExpertSystem\ExpertSystem.vcproj.WWW-13D905B4DD2.Administrator.user
?????文件???????4264??2012-08-09?23:56??ExpertSystem\ExpertSystem.plg
?????文件???????1255??2012-08-08?23:18??ExpertSystem\LoginDlg.h
?????文件???????1702??2012-08-08?23:41??ExpertSystem\LoginDlg.cpp
?????文件?????115712??2012-08-10?00:35??ExpertSystem\ExpertSystem.ncb
?????文件??????90619??2012-05-29?02:16??ExpertSystem\msado15.tlh
?????文件??????76614??2012-05-29?02:16??ExpertSystem\msado15.tli
?????文件????????738??2012-08-09?22:10??ExpertSystem\ADOConn.h
?????文件???????4516??2012-08-10?00:35??ExpertSystem\ExpertSystem.clw
?????文件???????2328??2012-08-09?22:33??ExpertSystem\ExpertSystem.cpp
?????文件???????3290??2012-08-09?22:33??ExpertSystem\ADOConn.cpp
?????文件???????1338??2012-08-09?23:45??ExpertSystem\TableDlg.h
?????文件???????3862??2012-08-09?23:56??ExpertSystem\Resource.h
?????文件??????41812??2012-08-09?23:56??ExpertSystem\ExpertSystem.aps
?????文件??????10855??2012-08-09?23:56??ExpertSystem\ExpertSystem.rc
?????文件???????1992??2012-08-09?23:59??ExpertSystem\ExpertSystemDlg.h
?????文件???????7033??2012-08-10?00:35??ExpertSystem\ExpertSystemDlg.cpp
?????文件??????13891??2012-08-10?00:35??ExpertSystem\TableDlg.cpp
?????文件???????4650??2012-08-10?00:35??ExpertSystem\ExpertSystem.dsp
?????文件??????51712??2012-08-10?00:35??ExpertSystem\ExpertSystem.opt
............此處省略5個文件信息
- 上一篇:CPLD 電子時鐘 實驗報告
- 下一篇:排隊模型計算器
評論
共有 條評論