🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to set properties wth BCB

#1643
From: Viatcheslav V. Vassiliev
Date: Thu, 04 Mar 2004 07:11
35 lines
1952 bytes
Add to any .cpp file:

#include <comobj.hpp>

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

//------------------------------------------
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)

"Bernhard Hoyler" <bhoyler@arcor.de> �������/�������� � �������� ���������:
news:4046267c@newsgroups.borland.com...
> Thank you very much, this works syntactically correctly, but unfortunately
I
> get a linker error message (BCB6):
>
> [Linker Fehler] Unresolved external 'System::__linkproc__ __fastcall
> CheckAutoResult()' referenced from
> C:\PROGRAMME\BORLAND\CBUILDER6\LIB\RELEASE\VCLE.LIB|syssupp
>
> Do you / does anybody have an idea?
>
> Bernhard Hoyler
>
>
Technical Details
Message-ID: <4046d6b1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40438d14@newsgroups.borland.com> <40448161$1@newsgroups.borland.com> <4046267c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,358a5c3ebe794b99
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-03-03 23:39:28 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40438d14@newsgroups.borland.com> <40448161$1@newsgroups.borland.com> <4046267c@newsgroups.borland.com>
Subject: Re: How to set properties wth BCB
Date: Thu, 4 Mar 2004 10:11:50 +0300
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <4046d6b1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078384305 213.234.218.42 (3 Mar 2004 23:11:45 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail