A
andy
Hello,
I'm having trouble with this section of code:
// Advance the row.
iRowPos += iTextHeight;
iRowCount ++;
hr = m_pSet->MoveNext();
// See if this is the last row.
if (hr == DB_S_ENDOFROWSET)
{
// If so, end the printing loop.
EndOfRowset = true;
break;
}
The errors I'm getting are:
error C2440: '=' : cannot convert from 'void' to 'HRESULT'
error C2065: 'DB_S_ENDOFROWSET' : undeclared identifier
Does anything look out of place ?
I'm having trouble with this section of code:
// Advance the row.
iRowPos += iTextHeight;
iRowCount ++;
hr = m_pSet->MoveNext();
// See if this is the last row.
if (hr == DB_S_ENDOFROWSET)
{
// If so, end the printing loop.
EndOfRowset = true;
break;
}
The errors I'm getting are:
error C2440: '=' : cannot convert from 'void' to 'HRESULT'
error C2065: 'DB_S_ENDOFROWSET' : undeclared identifier
Does anything look out of place ?