🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16069

Re: ODBC API

#16069
From: Harm-Jan Zwinderman
Date: Mon, 02 Jun 2003 20:11
17 lines
1595 bytes
From: X04001 <x04001@yahoo.com>
>
> I would like to use ODBC API to perform the following actions :
>
> - Detect if a specific driver is installed
>     ex : Microsoft Access (*.mdb) but it can be something else
>
> - Create a DSN after a successful driver detection.
> - Perform some SQL requests via this DSN
> - List all tables available in DB of this DSN.

You might want to try out freeodbc++ at http://www.orcane.net/freeodbc++/
It is a win32/linux class library to access databases through ODBC.
It contains a few examples of how to enumerate drivers and connect and query
datasources.

Harm-Jan Zwinderman
Technical Details
Message-ID: <3edbaf3f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3edaf100$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4fb7d2cd38cb21fe
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-02 13:20:05 PST
From: "Harm-Jan Zwinderman" <HaloHalo@HotPOP.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3edaf100$1@newsgroups.borland.com>
Subject: Re: ODBC API
Date: Mon, 2 Jun 2003 22:11:52 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 62.195.142.150
Message-ID: <3edbaf3f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054584639 62.195.142.150 (2 Jun 2003 13:10:39 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail