[Oledb-dev] Provider question
Shachar Shemesh
psql at shemesh.biz
Sat Apr 8 10:37:52 GMT 2006
Konstantin Izmailov wrote:
> Shachar,
> I've got the source code and compiled it in VS2005. I had to change
> line 68 in PgRS.h from:
> int GetSize() const to int GetCount() const
The ATL that comes with VS6 needs "GetSize" in ATLDB.H line 5714:
> LONG cRowsInSet = pT->m_rgRowData.GetSize();
Can you paste the usage from your version of ATL? Maybe we can get it so
it will compile on both versions.
> and commented out part of line 154 in OleDb.cpp as shown below:
> if (/*category & ATL_TRACE_CATEGORY &&*/ level <= ATL_TRACE_LEVEL)
Care to explain why this change was necessary? Is "ATL_TRACE_CATEGORY"
not defined or something?
> BTW, what is a command in CVS to get all files? I had to type for each
> file the following: cvs -d
> :pserver:anonymous at cvs.pgfoundry.org:/cvsroot/oledb checkout
> oledb/<filename>.
try "cvs -d :pserver:anonymous at cvs.pgfoundry.org:/cvsroot/oledb checkout
oledb"
Shachar
>
More information about the Oledb-devel
mailing list