Re: use psqlodbc on Windows without Windows driver manager?

From: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
To: "Dieter Mueller (BOI GmbH)" <dieter(dot)mueller(at)boi(dot)at>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: use psqlodbc on Windows without Windows driver manager?
Date: 2016-04-12 00:35:55
Message-ID: 0A3221C70F24FB45833433255569204D1F54C10F@G01JPEXMBYT05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Dieter Mueller (BOI
> GmbH)
> is psql-odbc designed to work on Windows without the Windows ODBC driver
> manager?
>
> (I want to prepare a distribution of our software for testing purposes that
> can be used without any installation on Windows - no ODBC driver installation
> as well)
>
> I created my own psqlodbc30a.lib of psqlodbc30a.dll by calling MS tools
> "dumpbin /exports ..." and "lib /def:...", then I linked my ODBC application
> with the new psqlodbc30a.lib instead of Microsoft's obdc32.lib and
> odbccp32.lib.

I don't think it's reasonable. According to the ODBC spec, the Driver Manager does many tasks, including error checks, and the ODBC driver depends on it.

Why do you want to avoid linking with odbc32.lib?

Regards
Takayuki Tsunakawa

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Dieter Mueller (BOI GmbH) 2016-04-12 06:41:48 Re: use psqlodbc on Windows without Windows driver manager?
Previous Message Huong Dangminh 2016-04-11 10:43:02 Why does binary of 09.05.0100 version was built with Visual Studio 2013?