Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqbn0-0006X6-EA for pgsql-odbc@arkaria.postgresql.org; Thu, 14 Apr 2016 07:34:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqbn0-0000cH-0i for pgsql-odbc@arkaria.postgresql.org; Thu, 14 Apr 2016 07:34:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqbmz-0000c6-K2 for pgsql-odbc@postgresql.org; Thu, 14 Apr 2016 07:34:09 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1aqbmw-0002Xm-Hr for pgsql-odbc@postgresql.org; Thu, 14 Apr 2016 07:34:08 +0000 Received: from mailserver.prisma-computer.local ([93.211.6.81]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MaiSH-1b5ff82iyX-00KAKE for ; Thu, 14 Apr 2016 09:34:03 +0200 Received: from [192.168.1.40] (pc-malte.prisma-computer.local [192.168.1.40]) by mailserver.prisma-computer.local with ESMTP ; Thu, 14 Apr 2016 09:32:28 +0200 Subject: Re: use psqlodbc on Windows without Windows driver manager? To: pgsql-odbc@postgresql.org References: <570B5332.8040406@boi.at> <0A3221C70F24FB45833433255569204D1F54C10F@G01JPEXMBYT05> <570C98AC.8080907@boi.at> <570E07EE.7@prisma-computer.de> <0A3221C70F24FB45833433255569204D1F55026F@G01JPEXMBYT05> From: "Prisma Computer - M. Neumann" Message-ID: <570F47EA.2030209@prisma-computer.de> Date: Thu, 14 Apr 2016 09:34:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <0A3221C70F24FB45833433255569204D1F55026F@G01JPEXMBYT05> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:85AqB9d4OmV5UXz2YUMoWXU7OalucMwhJ8CeTFM27TFWPP2sMW+ Vwo/w/0o+9vlety66kSdjEawhI6o0f3ThYxra5ZTwNUUk/UuJeDoNuaOZdWA3qMDQeS9oNc KtZbjhodY1QYFftWGaUTtIOsebadrACpPDuwvuAG+P1NP6qNGkhVi+HdpMJKxsaK3q3LnkZ FQe26Vyctl/FKc0PlrH1A== X-UI-Out-Filterresults: notjunk:1;V01:K0:qbd1oOtyrZY=:V8ceonWl4rm6nIkvUf1mtH 8SBaF8ygF4mjAa8YOGJZzcwFmcYh2Ylgx1Ox9W1rrynQOaCKwJaAj6n4LIrqfKiqSa4Pas+cN rVFi+kxPY6Pr9WXVJSt2X4DEQlYGf81TKGtq1Qw1v2AijNwVWT0m70XkOFOUG9xU5pDRPucj5 YV3xZk8wYTn4ypNAogqY265dDLwALCUBvQLrKIKGvgHGdQD+WMrBq/VHkXGWGa7XtMYr84Byk lZbakDjwuMuBOO3Szs5zF30Lb0TjsbjhviTunxkquOatBU1TqmoZNXvKyTBOCIPTbT9G8UuDC CBe3N/9vPNRC4iOJLj5vgl0Na70KOscl517E/KPc9Wq/r4OdK9sdewDTq9gZ0c5dV1DTSiJO1 ttRlF9fgg1nDU6Wp/Aeyt25+gVU96ZG2MWc1EFMC9Q3O+Fh8ZlkCqhDm0cDOneOkA4uvG778/ +o7W8Gvj2li6wdRcsCXCmH3n/qtxa5lhm/IB9oXOo3+8f+Vkt83r+EDrmHmOXMtHaioj5IK1+ YGDK9ejgWpgskPvErTFB/gY69p7kxM+Zyl9roSM1zuZCuI2mlXsO93mlzmQVOiTHVISn+NTLL zhZFVmo4JHPhF6//M72zcTSPAKi1RCaHc1mxDXg5drCQwx9OHepbsEzJDtGZy9eUyFy7P3DAv wjMPI9dJqfWew6gAzfF89Cj7R73ZmmOzOK0Ohhp1qgb6zCpSMZc9p0vM6uie3q+YtwhnugzR/ t53RgUGVja/N8B/D X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hello Takayuki, yes it is possible, we use it. 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. Kind Regards, Malte Am 14.04.2016 um 02:16 schrieb Tsunakawa, Takayuki: > Hello, Malte, > > > Dieter wants to use the driver without registering it in the registry. Is it really possible? I know I can connect to the database without "registering the data source" with the connection string for SQLDriverConnect() like this: > > DRIVER={PostgreSQL ANSI Driver};Servername=127.0.0.1;Port=5432;UID=xxx;Password=yyy;Database=postgres > > FYI, I tried setting the absolute path of the driver DLL file to DRIVER keyword, but it didn't work. > > Regards > Takayuki Tsunakawa > > >> -----Original Message----- >> From: pgsql-odbc-owner@postgresql.org >> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Prisma Computer - >> M. Neumann >> Sent: Wednesday, April 13, 2016 5:49 PM >> To: pgsql-odbc@postgresql.org >> Subject: Re: [ODBC] use psqlodbc on Windows without Windows driver manager? >> >> Hello Dieter, >> >> it is possible to use the odbc-driver without the windows driver manager. >> >> You only need to change the connection-function. Instead of Calling >> SQLConnect use SQLDriverConnect with the correct connectionstring. >> >> Kind regards, >> Malte > -- Prisma Computer GmbH Sternallee 89 - 68723 Schwetzingen Fon 0 62 02.5 75 68 10 Fax 0 62 02.5 75 68 75 eMail: m.neumann@prisma-computer.de Internet: www.prisma-computer.de Geschäftsführung: Gerald Wilkens, Bernhard Goebel Amtsgericht Mannheim HRB 420986 S USt-IdNr.: DE 144 278 153 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc