Re: other language descriptions for microsoft ODBC drivers



On Jul 5, 3:47 am, Bob Hairgrove <NoSpamPle...@xxxxxxxx> wrote:
On Wed, 04 Jul 2007 11:45:47 +0200, Bob Hairgrove

<NoSpamPle...@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
NoSpamPle...@xxxxxxxx

Thank you for your reply.

I have considered all the options which you have mentioned. The reason
for me to go for hard coding the options is

a) The flat file drivers (like excel, access and text...) go to the
same dll.
b) when i use getInstalldrivers or some other functions to get info
about the drivers present on the system how to I filter the particular
driver to use.
Ex: If i have to make a text driver how do I filter the text driver
and In my case I am supporting only microsoft drivers so How do I
filter the microsoft text drivers out of the list.

I feel microsoft uses some particular variable or parameter which
differentiates the drivers from on another and I think I am missing it
as the driver description is not a 100% foolproof way of determining
the different drivers

csk

.



Relevant Pages

  • Re: Impressed
    ... Here we go, this is a classic now, the Rob K. wrong answer to my posts ... drivers and 32bits drivers for expansion cards. ... Nowadays most of the software is built over the concept of DLL ... still doesn't exsist on ROS, also if there is some experimental works ...
    (comp.sys.acorn.misc)
  • Re: shared DLL
    ... You can't share a single interrupt source ... between different ISTs running in different DLL ... This DLL create a Thread that manage timers created from a process. ... Perhaps I need to change my startegy and create a driver but also drivers ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: CHKDSK killed my OpenGL subsystem
    ... He'll screw around with a debugger but won't trust disk utilities? ... >> Then reinstall your nVidia drivers. ... > Well power off and cache stuff I dont think so at least not for the dll... ...
    (microsoft.public.windowsxp.general)
  • Re: Realtek HD Audio error message EAcessViolation
    ... The system DLL user32.dll was relocated in memory. ... install the fix. ... I un-installed the RealTek HD drivers using the Install Remove ...
    (microsoft.public.windowsxp.general)
  • Re: PCMCIA driver sometimes not loading on CE 5.0
    ... Build a DEBUG version of the OS and capture the serial debug messages in the ... the system but the driver's dll ... PCMCIA card and the loading of the drivers DLL? ...
    (microsoft.public.windowsce.embedded)

Loading