Re: use psqlodbc on Windows without Windows driver manager? - Mailing list pgsql-odbc

From Tsunakawa, Takayuki
Subject Re: use psqlodbc on Windows without Windows driver manager?
Date
Msg-id 0A3221C70F24FB45833433255569204D1F54C10F@G01JPEXMBYT05
Whole thread Raw
In response to use psqlodbc on Windows without Windows driver manager?  ("Dieter Mueller (BOI GmbH)" <dieter.mueller@boi.at>)
Responses Re: use psqlodbc on Windows without Windows driver manager?  ("Dieter Mueller (BOI GmbH)" <dieter.mueller@boi.at>)
List pgsql-odbc
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.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,
andthe ODBC driver depends on it.
 

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

Regards
Takayuki Tsunakawa

pgsql-odbc by date:

Previous
From: Huong Dangminh
Date:
Subject: Why does binary of 09.05.0100 version was built with Visual Studio 2013?
Next
From: "Dieter Mueller (BOI GmbH)"
Date:
Subject: Re: use psqlodbc on Windows without Windows driver manager?