🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linker Error in C++ Builder 6.0 and ADO

#3412
From: Mark Guerrieri
Date: Tue, 17 Sep 2002 02:12
50 lines
2224 bytes
I have the same problem.

You can work around it by replacing

bool b = Rec->Eof;

with

bool b;
Rec->Get_Eof(&b);

I don't know what causes this problem, but it manifests itself in most ADO
properties accessed from a DelphiInterface wrapper object.  Use the 'Get_'
functions instead of the properties and you should be ok...

If anyone can shed light on the root cause of this, I would be VERY
interested to hear it...

Mark Guerrieri
markg11@comcast.net


"Peter" <peter.kocan@besoft.sk> wrote in message
news:3d85e3a9@newsgroups.borland.com...
> Hi,
>
> I can`t convert project from BCB 5.0 to BCB 6.0. I separate problem to:
>
> - include library #include <adodb.hpp>
> - insert somewhere this code:
>
>     TADOTable *Table = new TADOTable(NULL);
>     _di__Recordset Rec = Table->Recordset;
>     bool b = Rec->Eof;
>
> Compiling is OK, but linking generate this error:
>
> [Linker Error] Unresolved external 'System::__linkproc__ __fastcall
> CheckAutoResult()' referenced from C:\PROGRAM
> FILES\BORLAND\CBUILDER6\LIB\RELEASE\VCLE.LIB|syssupp
>
> This problem is also with TADOConnection->Errors, whitch I need to my
> project.
>
>
>         Peter
>
>
>
>
Technical Details
Message-ID: <3d868f8a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3d85e3a9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,dc5d10fd3c30625a
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-09-16 20:16:44 PST
From: "Mark Guerrieri" <markg11@comcast.net>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d85e3a9@newsgroups.borland.com>
Subject: Re: Linker Error in C++ Builder 6.0 and ADO
Date: Mon, 16 Sep 2002 22:12:38 -0400
Lines: 52
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: 68.44.67.205
Message-ID: <3d868f8a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1032228746 68.44.67.205 (16 Sep 2002 19:12:26 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!212.43.194.69!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail