πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Adding ADO support to existing project

#430
From: ADC GmbH
Date: Thu, 21 Dec 2006 11:35
18 lines
1513 bytes
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: <458a71fd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9cfee1925c466bb9,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
Date: Thu, 21 Dec 2006 12:35:08 +0100
From: ADC GmbH <ew@adcgmbh.de>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Adding ADO support to existing project
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 62.153.221.162
Message-ID: <458a71fd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166701053 62.153.221.162 (21 Dec 2006 03:37:33 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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