Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aps1h-0006Rt-A2 for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Apr 2016 06:42:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aps1g-0005Vv-Oz for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Apr 2016 06:42:16 +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 1aps1K-00056w-4s for pgsql-odbc@postgresql.org; Tue, 12 Apr 2016 06:41:54 +0000 Received: from email.boi.at ([85.193.140.130]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aps1H-0007S1-1H for pgsql-odbc@postgresql.org; Tue, 12 Apr 2016 06:41:52 +0000 Received: from email (localhost [127.0.0.1]) by email.boi.at (BOI_MailServer) with ESMTP id 635C2AE22A4; Tue, 12 Apr 2016 08:41:47 +0200 (CEST) Received: from [192.168.11.10] (intfw.boi.at [192.168.1.2]) by email.boi.at (BOI_MailServer) with ESMTPSA id D7A67AE22A1; Tue, 12 Apr 2016 08:41:46 +0200 (CEST) Subject: Re: use psqlodbc on Windows without Windows driver manager? To: "Tsunakawa, Takayuki" , "pgsql-odbc@postgresql.org" References: <570B5332.8040406@boi.at> <0A3221C70F24FB45833433255569204D1F54C10F@G01JPEXMBYT05> From: "Dieter Mueller (BOI GmbH)" Organization: BOI GmbH Message-ID: <570C98AC.8080907@boi.at> Date: Tue, 12 Apr 2016 08:41:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <0A3221C70F24FB45833433255569204D1F54C10F@G01JPEXMBYT05> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-KLMS-Rule-ID: 4 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, 2016/04/11 08:42:06 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, bases: 2016/04/11 19:38:00 #7480646; khse: 2014-01-23 rollback X-KLMS-AntiVirus-Status: Clean, skipped X-Pg-Spam-Score: -2.9 (--) 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, thanks for your reply :-) Calling the ODBC driver via driver manager requires the driver to be installed in Windows (means: written in the Windows registry). But a test distribution of our (ODBC-)application should be able to run without the need of any installation procedure and without administrator rights. IBM's DB2-CLI (call level interface) can be operated in 2 modes: with or without an ODBC driver manager. So i hoped that the PostgreSQL ODBC driver has this ability, too. Kind regards, Dieter Mueller -------- Original-Nachricht -------- Betreff: Re: [ODBC] use psqlodbc on Windows without Windows driver manager? Von: Tsunakawa, Takayuki An: Dieter Mueller (BOI GmbH) , pgsql-odbc@postgresql.org Datum: 12.04.2016 02:35 >> 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, and the ODBC driver depends on it. > > Why do you want to avoid linking with odbc32.lib? > > Regards > Takayuki Tsunakawa > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc