🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Accessing ADO from a console app

#1442
From: Blue Knight
Date: Sun, 13 Jun 2004 12:19
50 lines
2388 bytes
Hi Vassiliev,

Thanks for that, but the difference is that I am not actually creating 
any visual components - this is purely a console-based application that 
reads a log file and inserts records into a database.  Perhaps the fact 
that your application used a Form caused it to link with the adortl.lib 
and dbrtl.lib libraries, but I can't see how to force my app to do that 
in BCB6.

Regards,

Bevan


Viatcheslav V. Vassiliev wrote:

> I sent you test project that works OK.
> 
> //------------------------------------------
> 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)
> 
> "Blue Knight" <bevan231X@Xhotmail.com> ???????/???????? ? ????????
> ?????????: news:40cc09b4@newsgroups.borland.com...
> 
>>Hi,
>>
>>Viatcheslav V. Vassiliev wrote:
>>
>>
>>>Just turn off "Build with runtime packages" in
> 
> "Project\Options\Packages"
> 
>>>from IDE menu.
>>
>>I did that, and then it comes up with linker errors indicating that it
>>couldn't resolve the ADO calls.  This is in spite of the fact that I
>>created the Console app with VCL support enabled in BCB6.
>>
>>Regards,
>>
>>Bevan
> 
> 
> 
Technical Details
Message-ID: <40cc4646$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news-in.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40cba892$1@newsgroups.borland.com> <40cc0329@newsgroups.borland.com> <40cc09b4@newsgroups.borland.com> <40cc252f$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
Date: Mon, 14 Jun 2004 00:19:19 +1200
From: Blue Knight <bevan231X@Xhotmail.com>
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Accessing ADO from a console app
References: <40cba892$1@newsgroups.borland.com> <40cc0329@newsgroups.borland.com> <40cc09b4@newsgroups.borland.com> <40cc252f$1@newsgroups.borland.com>
In-Reply-To: <40cc252f$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 210.55.223.31
Message-ID: <40cc4646$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1087129158 210.55.223.31 (13 Jun 2004 05:19:18 -0700)
Lines: 50
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news-in.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail