Get driver name from ODBC, have connection handle 
Author Message
 Get driver name from ODBC, have connection handle

I need to get the driver name seen on the first
screen of ODBCAD32.EXE,
so that I can call


I tried

SQLGetInfo(m_DB.m_hdbc, SQL_DRIVER_NAME,
driver_name, MaxLength,

and a lot of other constants besides
SQL_DRIVER_NAME, but none of them
gives the correct value, which is "Microsoft Access
Driver (*.mdb)"

My m_DB object has correctly opened a database
(using dsn=NameDsn)
before it is used in the call to SQLGetInfo.

Any ideas?


Fri, 06 Jul 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Oracle ODBC driver instead of Microsofts ODBC Oracle driver

2. Odbc driver on Windows95 client loosing connection over a NT 3.51 network

3. Help on ODBC driver handle loss

4. Getting the versions of installed ODBC drivers

5. Getting Access ODBC driver to use index

6. Passing ODBC-Connection Handle to COM-Object

7. getting the name of the current internet connection?

8. MFC CDatabase, Oracle v2 Driver, ODBC v3 driver manager

9. Compare between Drivers and Database with ODBC driver

10. ODBC Driver Setup - Not Source Driver Setup

11. ODBC driver V1. not working with ODBC 3.0

12. Writing an ODBC driver with Microsoft ODBC SDK


Powered by phpBB® Forum Software