🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Using ADO as a Type Library

#5454
From: Alan Litster
Date: Wed, 09 May 2001 14:14
14 lines
1479 bytes
Hello,
I'm new to BC++ Builder 4 and I've been trying to fiqure out how to get the
ADO type library
working. I've imported the ado 2.6 type library and end up with
'ADODB_TLP.cpp', what syntax
do I have to use to get it to create a _Connection object? Under VC++ I used
to use
    ADODB::_ConnectionPtr pCnn = NULL;
    TESTHR(pCnnLnx.CreateInstance(__uuidof(ADODB::Connection)));
What would be the equivalent under BCB ?
Are there any examples of using ADO via an imported Type library?

Thanks
Alan
Technical Details
Message-ID: <3af951b4$0$15023$cc9e4d1f@news.dial.pipex.com>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!skynet.be!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,8c5ac8989568a8b6,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-05-09 07:42:48 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!skynet.be!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!not-for-mail
From: "Alan Litster" <alitster@indie.dabsol.co.uk>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Using ADO as a Type Library
Date: Wed, 9 May 2001 15:14:42 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Lines: 16
Message-ID: <3af951b4$0$15023$cc9e4d1f@news.dial.pipex.com>
NNTP-Posting-Host: userdy48.uk.uudial.com
X-Trace: 989417909 news.dial.pipex.com 15023 62.188.8.240
X-Complaints-To: abuse@uk.uu.net