Re: other language descriptions for microsoft ODBC drivers



On Wed, 04 Jul 2007 11:45:47 +0200, Bob Hairgrove
<NoSpamPlease@xxxxxxxx> wrote:

(c) When the user selects one of the drivers and creates a DSN,
establish a connection to this (if possible) and call SQLGetInfo on
the connection handle, passing SQL_DRIVER_HLIB as an argument. This
will return the name of the DLL used to implement the current driver.

Oops ... I left out one step ... you receive an instance handle of
the DLL from SQLGetInfo() which you can use to call the Win32 API
function GetModuleName(), and THAT you can compare with your list of
supported DLLs.

Sorry for the confusion.

--
Bob Hairgrove
NoSpamPlease@xxxxxxxx
.



Relevant Pages

  • Re: Share ADO Connection from Exe TO DLL
    ... _Connection is Interface, it has "reference counting", Why not passing the ... > but when i load dll, ... > adoCon -> _Connection ...
    (borland.public.delphi.database.ado)
  • Re: other language descriptions for microsoft ODBC drivers
    ... the connection handle, ... will return the name of the DLL used to implement the current driver. ... the DLL from SQLGetInfo() which you can use to call the Win32 API ... about the drivers present on the system how to I filter the particular ...
    (microsoft.public.data.odbc)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)