If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Getting List of ODBC drivers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-03, 02:41
VT-ESM VT-ESM is offline
Registered User
 
Join Date: Jan 2003
Location: Pune
Posts: 1
Getting List of ODBC drivers

I am working on a function "GetODBCDrvierList()" to return a list of ODBC drivers installed on the Local Machine.

I am reading the registry entries at "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODB C Drivers".

Any better method of doing it (imean like a API call or something?)

-Roy
Reply With Quote
  #2 (permalink)  
Old 01-25-03, 03:06
Ad Dieleman Ad Dieleman is offline
Registered User
 
Join Date: Jan 2003
Location: Dordrecht, The Netherlands
Posts: 95
Re: Getting List of ODBC drivers

A while ago I asked myself the same and did what you're doing now. For what it's worth, even Microsoft recommends operating on the registry for things like setting up an ODBC DSN in program code...

Ad Dieleman.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On