Hi everybody , I have a problem in compiling a chunk of code written for VC++ 
6.0 .
I am using a ADO Recordset, which, according to the MSDN documentation, should 
expose the property "EOF" .
When I try to compile the following code :


ADODB::_RecordsetPtr SchemaRS;

  if (!SchemaRS->EOF)
  {
    .
    .
    .
  }

I get the following error : 

error C2059: syntax error : '('


I tried commenting out every possible line of code preceding it , but nothing 
has changed .
A far as I am concerned , no real error is on that line .
Even funnier is , the MSDN documentation , even though referring to this 
property "EOF", in making examples uses the property "EndOfFile" instead , and 
this property doesn't really exist anywhere ....

Do you think I can trust MSDN ? and if I can, how can I solve this problem ?





Reply via email to