Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using SQLGetInfo() to identify the appropriate driver

7 views
Skip to first unread message

Neil

unread,
Jul 3, 2003, 3:27:56 PM7/3/03
to
I have 2 drivers configured to connect an application (developed using
Powerbuilder) running on Windows XP professional to

the database server (Microsoft SQL Server 2000). One driver is the
Microsoft SQL Server Driver (SQLSRV32.dll) while the other

is a DataDirect driver using the Wire Protocol (PBMSSS18.dll). Either
may be used to establish a connection to the same

database on the server. On the login screen the user chooses between
the them.

I tried using SQLGetInfo() to identify the driver and DSN being used
by the connection. The function returns the correct DSN

name but always reports the SQl Server Driver (SQLSRV32.dll)as the
driver being used by the connection. I would appreciate

it, if anyone could offer a suitable explanation. Thank you.

Neil Fernandes

0 new messages