91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.06M
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2021-02-21
  • 標簽:

資源簡介

C++ 加密數據庫中的數據(提高篇-實例585).zip

資源截圖

代碼片段和文件信息

//?ADO.cpp:?implementation?of?the?CADO?class.
//
//////////////////////////////////////////////////////////////////////

#include?“stdafx.h“
#include?“PwdEncrypt.h“
#include?“ADO.h“

#ifdef?_DEBUG
#undef?THIS_FILE
static?char?THIS_FILE[]=__FILE__;
#define?new?DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////

CADO::CADO()
{
m_con?=?NULL;
m_rec?=?NULL;
}

CADO::~CADO()
{

}

bool?CADO::Connect()
{
::CoInitialize(NULL);
m_con.CreateInstance(__uuidof(Connection));
_bstr_t?str?=?“Provider=SQLOLEDB.1;SERVER=.;UID=sa;PWD=;DATAbase=userinfo“;
try
{
m_con->Open(str““““adModeUnknown);
return?true;
}
catch(_com_error?e)
{
AfxMessageBox(e.Description());
return?false;
}
}

void?CADO::Close()
{
if(m_rec?!=?NULL)
m_rec->Close();
m_con->Close();
::CoUninitialize();
}

_RecordsetPtr?CA

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1523??2013-12-30?15:41??PwdEncrypt\ADO.cpp
?????文件?????????805??2013-12-30?14:19??PwdEncrypt\ADO.h
?????文件??????224118??2010-11-20?04:19??PwdEncrypt\msado15.tlh
?????文件??????168911??2010-11-20?04:19??PwdEncrypt\msado15.tli
?????文件???????35800??2013-12-30?15:32??PwdEncrypt\PwdEncrypt.aps
?????文件????????1276??2013-12-30?15:48??PwdEncrypt\PwdEncrypt.clw
?????文件????????2119??2013-12-30?10:12??PwdEncrypt\PwdEncrypt.cpp
?????文件????????4353??2013-12-30?15:49??PwdEncrypt\PwdEncrypt.dsp
?????文件?????????543??2013-12-30?10:12??PwdEncrypt\PwdEncrypt.dsw
?????文件????????1368??2013-12-30?10:12??PwdEncrypt\PwdEncrypt.h
?????文件???????49664??2013-12-30?15:49??PwdEncrypt\PwdEncrypt.opt
?????文件????????5757??2013-12-30?15:32??PwdEncrypt\PwdEncrypt.rc
?????文件????????6124??2013-12-30?15:41??PwdEncrypt\PwdEncryptDlg.cpp
?????文件????????1451??2013-12-30?14:39??PwdEncrypt\PwdEncryptDlg.h
?????文件????????3651??2013-12-30?10:12??PwdEncrypt\ReadMe.txt
?????文件?????????780??2013-12-30?10:33??PwdEncrypt\Resource.h
?????文件?????????212??2013-12-30?10:12??PwdEncrypt\StdAfx.cpp
?????文件????????1054??2013-12-30?10:12??PwdEncrypt\StdAfx.h
?????文件????????1078??2013-12-30?10:12??PwdEncrypt\res\PwdEncrypt.ico
?????文件?????????402??2013-12-30?10:12??PwdEncrypt\res\PwdEncrypt.rc2

評論

共有 條評論