🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2630

Re: property Word EOF error

#2630
From: Viatcheslav V. Vassiliev
Date: Mon, 28 Apr 2003 15:38
32 lines
1881 bytes
I think EOF is defined as macros in one of includes. Try undefine EOF in
ADO.hpp or before including it.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.


"Tom Jowitt" <tomjowitt@hotmail.com> ???????/???????? ? ???????? ?????????:
news:3ead0268@newsgroups.borland.com...
> i have my ADO stuff working fine with my database but i'm having a
> problem with writing to text files.
>
> the second i add:
>
> #include <iostream>
> #include <fstream>
>
> into my .cpp file it brings up a compiler error in the ADO.hpp
>
> "Declaration terminated incorrectly" on the line:
>
> __property Word EOF = {read=_scw_Get_EOF};
>
> i really can't figure out what is going wrong.
>
> any help would be appreciated.
> thanks.
>
Technical Details
Message-ID: <3eae1b4b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ead0268@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,25a35d5ce9fa1e16
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-28 23:33:45 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ead0268@newsgroups.borland.com>
Subject: Re: property Word EOF error
Date: Mon, 28 Apr 2003 19:38:45 +0400
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3eae1b4b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051597643 213.247.201.57 (28 Apr 2003 23:27:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail