Article View: borland.public.cppbuilder.database.ado
Article #1450Re: Accessing ADO from a console app
From: Simon Elliott
Date: Mon, 14 Jun 2004 15:05
Date: Mon, 14 Jun 2004 15:05
15 lines
1667 bytes
1667 bytes
On 14/06/2004, Blue Knight wrote: > > Try to edit default.bpr in $(BCB)\Bin directory (backup existing > > before). This has settings for new projects. > > Thanks, I'll give that a go. I've made a few BCB6 console apps which work with ADO. I created the console apps via the console wizard with 'use VCL' checked. Some of the apps used data modules. The ones that didn't use a data module needed to have a CoInitializeEx() call before any ADO function was called. These latter apps didn't have any forms or any visual components. -- Simon Elliott http://www.ctsn.co.uk
Technical Details
Message-ID:
<40cdbea6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40cba892$1@newsgroups.borland.com> <40cc0329@newsgroups.borland.com> <40cc09b4@newsgroups.borland.com> <40cc252f$1@newsgroups.borland.com> <40cc4646$1@newsgroups.borland.com> <40cc5304$1@newsgroups.borland.com> <40cc8f03@newsgroups.borland.com> <40cd54c0@newsgroups.borland.com> <40cd951f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,6fc9a952b266d453 X-Google-Attributes: gid10698b,public From: "Simon Elliott" <Simon at ctsn.co.uk> Subject: Re: Accessing ADO from a console app Newsgroups: borland.public.cppbuilder.database.ado Reply-To: "Simon Elliott" <News at ctsn.co.uk> References: <40cba892$1@newsgroups.borland.com> <40cc0329@newsgroups.borland.com> <40cc09b4@newsgroups.borland.com> <40cc252f$1@newsgroups.borland.com> <40cc4646$1@newsgroups.borland.com> <40cc5304$1@newsgroups.borland.com> <40cc8f03@newsgroups.borland.com> <40cd54c0@newsgroups.borland.com> <40cd951f$1@newsgroups.borland.com> User-Agent: XanaNews/1.16.3.1 NNTP-Posting-Host: 82.152.41.49 Message-ID: <40cdbea6$1@newsgroups.borland.com> Date: 14 Jun 2004 08:05:10 -0700 X-Trace: newsgroups.borland.com 1087225510 82.152.41.49 (14 Jun 2004 08:05:10 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail