🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to use ado in console , do not use vcl?

#3587
From: rechardfeng
Date: Mon, 15 Jul 2002 12:54
38 lines
1862 bytes
Thanks:

I use

 #import "C:\Program Files\Common Files\System\ADO\msado15.dll"\
rename_namespace("ADOCG") rename("EOF", "EndOfFile")

but bcb 5.0 report:

"[C++ Warning] msado15.tlh(394): W8041 Negating unsigned value
[C++ Error] msado15.tlh(846): E2494 Unrecognized __declspec modifier
[C++ Error] msado15.tlh(846): E2321 Declaration does not specify a tag or an
identifier
[C++ Error] msado15.tlh(842): E2316 'GetRow' is not a member of
'ADORecordConstruction'
[C++ Error] msado15.tli(275): E2316 'ADORecordConstruction::GetRow()' is not
a member of 'ADORecordConstruction'
"

error code generate by bcb:
"but ADORecordConstruction : IDispatch
{
  //
  // Property Data :
  //
  __declspec(property(get=GetRow,put=PutRow )) IUnknown* Row;
  __declspec(property( put=PutParentRow  //
  // Wrapper Methods :
  //
  IUnknown* GetRow( );
  HRESULT PutRow(
    IUnknown* ppRow );
  HRESULT PutParentRow(
    IUnknown* rhs );
"

Qustion:
How resolve it? thanks.
Technical Details
Message-ID: <3d32c6de_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news.stealth.net!news.stealth.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,ddd198fe096c39f1,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-15 06:08:23 PST
From: "rechardfeng" <jm_feng@sina.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: how to use ado in console , do not use vcl?
Date: Mon, 15 Jul 2002 20:54:56 +0800
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 61.174.133.218
Message-ID: <3d32c6de_1@dnews>
X-Trace: dnews 1026737886 61.174.133.218 (15 Jul 2002 05:58:06 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!feed.textport.net!news.stealth.net!news.stealth.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews