🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADOX Syntax

#5064
From: Tony
Date: Fri, 10 Aug 2001 16:55
30 lines
1936 bytes
I have imported the type lib and the code in my example works except for the
indicated lines. TCatalog however  is not defined. Where are you getting
TCatalog from?

"Umberto Uderzo" <umberto@uderzo.it> wrote in message
news:3b740159_2@dnews...
> Hi Tony,
>
> You need to import the Type Library from "Microsoft ADO Extension for DDL
> and security", choose to create a unit and a class wrapper.
> You obtain a TCatalog that you can instantiate like other VCL components.
> This works well to see if a table exists, but don't think you can do
> something better if you're not using JET (many of the ADOX features works
> only with JET, sigh...)
>
> Bye... Umberto
>
> "Tony" <hse@hill-soft.com> ha scritto nel messaggio
news:3b73d7c2_2@dnews...
> > Does anyone have some example code for getting user and group
information
> > using ADOX and Builder? This is what I would like to do but I am getting
> > compile errors.
> >
> > TCOM_Catalog Cat;
> > Cat = CoCatalog::Create();
> > Cat->set_ActiveConnection(ConnectString);
>
>
>
Technical Details
Message-ID: <3b7411e1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b73d7c2_2@dnews> <3b740159_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,48d0e5ff0cb72d06
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-10 10:04:42 PST
From: "Tony" <hse@hill-soft.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b73d7c2_2@dnews> <3b740159_2@dnews>
Subject: Re: ADOX Syntax
Date: Fri, 10 Aug 2001 12:55:28 -0400
Lines: 32
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: 63.212.145.9
Message-ID: <3b7411e1_1@dnews>
X-Trace: dnews 997462497 63.212.145.9 (10 Aug 2001 09:54:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews