Re: use psqlodbc on Windows without Windows driver manager?

From: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
To: "Prisma Computer - M(dot) Neumann" <m(dot)neumann(at)prisma-computer(dot)de>, "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-15 00:08:00
Message-ID: 0A3221C70F24FB45833433255569204D1F550D11@G01JPEXMBYT05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello, Malte, Dieter,

> From: pgsql-odbc-owner(at)postgresql(dot)org
> But it is a little bit tricky, because you must load the driver dll by yourself
> with the loadLibrary function. After that you have to import alle your needed
> dll-functions with the GetProcAddress.

Directly loading psqlodbc's DLL eliminates the Driver Manager. But as I replied to Dieter's initial question, that may cause problems because the Driver Manager does various things and the driver depends on it.

What Dieter requires is to link with odbc32.lib to use psqlodbc via the Driver Manager without registering psqlodbc in the registry.

Regards
Takayuki Tsunakawa

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Pavel Raiskup 2016-04-18 13:02:06 Re: psqlODBC 09.05.0200 Released
Previous Message Pavel Raiskup 2016-04-14 13:48:16 Re: psqlODBC 09.05.0200 Released