🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADOConnection Link Fault

#2935
From: Vassiliev V.V.
Date: Thu, 06 Feb 2003 11:35
42 lines
2191 bytes
Try add this code:

#include <comobj.hpp>

namespace System
{
 void __fastcall CheckSafecallResult(HRESULT hr)
 {
  OleCheck(hr);
 }
}

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (LCPI provider, http://ibp.lcpi.lipetsk.ru) databases.

"Wayne Bignell" <wbignell@waydon.com.au> �������/�������� � ��������
���������: news:3e420da7@newsgroups.borland.com...
> Hi All
> I have upgraded to C++Builder 6 from ver 5 and have a problem linking an
> application that worked fine in BCB 5. The error message is -
>
> [Linker Error] Unresolved external 'System::__linkproc__ __fastcall
> CheckAutoResult()' referenced from
D:\CBUILDER6\LIB\RELEASE\VCLE.LIB|syssupp
>
> The offending code is part of a function to record anny error mesages when
> an ADO error occurs.
>
>   for (int n=0; n<ADOConnection1->Errors->Count; n++) {
>     Memo1->Lines->Add(ADOConnection1->Errors->Item[n]->Description);
>     }
>
> Has anyone had the problem and is there a fix for it?
>
> Thanks
> Wayne
>
>
Technical Details
Message-ID: <3e42b2f5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3e420da7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,24c9e92d170fe9fe
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-02-06 11:38:09 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e420da7@newsgroups.borland.com>
Subject: Re: ADOConnection Link Fault
Date: Thu, 6 Feb 2003 14:35:21 +0300
Lines: 44
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: 212.188.99.9
Message-ID: <3e42b2f5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1044558581 212.188.99.9 (6 Feb 2003 11:09:41 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail