Article View: borland.public.cppbuilder.database.ado
Article #4746Type Library using ADO
From: Dale
Date: Thu, 11 Oct 2001 21:52
Date: Thu, 11 Oct 2001 21:52
26 lines
1635 bytes
1635 bytes
I am trying to create a few COM objects that take a _Recordset ** as a
parameter.
I have to include the type library and then modify the ADODB_TBH.h to
rename "EOF" to "EndOfFile"
then go along and do my thing.
In Microsoft land you import the type library yourself and run fix the
problem then.
MS import:
#import "C:\Program Files\Common Files\System\ADO\MSADO15.DLL"
rename_namespace("ADOCust") rename("EOF","EndOfFile")
using namespace ADOCust;
If I use the type library tool, it makes it really hard to do this. I can
make the changes to the right files, but it is never reflected in the tool.
This makes life difficult.
Any suggestions?
thanks
Dale
Technical Details
Message-ID:
<3bc614bc$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!209.30.0.50!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,fab498ee8234be1,start X-Google-Attributes: gid10698b,public X-Google-Thread: 1084ed,fab498ee8234be1,start X-Google-Attributes: gid1084ed,public X-Google-ArrivalTime: 2001-10-11 15:00:54 PST From: "Dale" <Dkrebbers@cenadex.com> Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.ms_compatibility Subject: Type Library using ADO Date: Thu, 11 Oct 2001 14:52:40 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 24.67.186.198 Message-ID: <3bc614bc$1_1@dnews> X-Trace: dnews 1002837180 24.67.186.198 (11 Oct 2001 14:53:00 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!209.30.0.50!nntp.flash.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews