πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Adding ADO support to existing project

#431
From: Vassiliev V. V.
Date: Thu, 21 Dec 2006 13:22
31 lines
2191 bytes
Try to change order of #include items - move #include <ADODB> up or down.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"ADC GmbH" <ew@adcgmbh.de> ???????/???????? ? ???????? ?????????: 
news:458a71fd$1@newsgroups.borland.com...
> Hi all,
>
> I've got the following problem:
> We need to add database support to an existing, large project, currently 
> developed with BDS 2006.
> We added a Datamodule and dropped a TADOConnection and a TADOQuery.
> So "#include <ADOBD>" is automaticly added so the source. But when we try 
> to build the project, the compiler says something like
> "E2015: ambiguity between the types 'ITransaction' and 
> 'Oledb::ITransaction'" This happens in file comsvcs.h.
> (Sorry, I don't know the correct English compiler message, because I'm 
> using the German version).
>
> What have we done wrong and more important: What must we do to fix our 
> problem?
>
> Thanks in advance,
> SοΏ½ren 
Technical Details
Message-ID: <458a8aa8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <458a71fd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9cfee1925c466bb9
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Vassiliev V. V." <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <458a71fd$1@newsgroups.borland.com>
Subject: Re: Adding ADO support to existing project
Date: Thu, 21 Dec 2006 16:22:53 +0300
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 0661-0, 20.12.2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 85.93.138.132
Message-ID: <458a8aa8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166707368 85.93.138.132 (21 Dec 2006 05:22:48 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail