spudgun0 wrote:
> Hi everybody , I have a problem in compiling a chunk of code written for VC++ 
> 6.0 .

I'm going to assume you are NOT using VC++ 6.  Ancient compiler.  It 
could be something VC++ 6-specific but later versions are pretty good 
about migrating older code.


> 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 ?

Large chunks of MSDN Library seem to be disappearing.  Microsoft is 
eliminating a lot of useful documentation about the OS and various APIs. 
  To what end, I don't know, but it can't be any good whatever it is (it 
could be related to .NET - a useless idea they keep pushing and really 
should simply stop).

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to