Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrtl7-0000aK-F7 for pgsql-odbc@arkaria.postgresql.org; Tue, 03 Jun 2014 18:48:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wrtl6-0001bq-Rk for pgsql-odbc@arkaria.postgresql.org; Tue, 03 Jun 2014 18:48:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrmYM-0000HI-0T for pgsql-odbc@postgresql.org; Tue, 03 Jun 2014 11:06:50 +0000 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WrmYG-0008Vo-Lh for pgsql-odbc@postgresql.org; Tue, 03 Jun 2014 11:06:48 +0000 Received: by mail-we0-f172.google.com with SMTP id k48so6702976wev.17 for ; Tue, 03 Jun 2014 04:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:date:mime-version:subject:message-id:priority :content-type:content-transfer-encoding:content-description; bh=vQzuWrQngERCdeRTqqsLwo2sIfkbkkHJXFDYK8HK8Fg=; b=cU39Y2YoVbCjlcC1G2KPE1IjtQKzbuSwxbbtZaEDpruTh93AWY6y/JGGFYHP9XF4I0 wIIbFTe2HaV+Z6mzF9jAGO+i80V08RL5rm+N7dCP/OaR4n3sclUO6HJVPTnMIv3dMhdZ BIsKVACL+2T/nfz5lnJ+67FyyRrnTK89ocRmOf0xKB/GBFhtrYe9tleO1oqWDpe5YSRp D03CBXD85CkBup7FcMGuhPlBdmJfFXX8frXeWyFePf5zCyFzy36o5HvHNh/Sq9tC70A9 po6a8ZYUDhqsafH1pUFvdD63E3TQbIMBvnI0MURsQAIjnjVEM0GDIsNd+/tK3YqjpXfe IN4g== X-Received: by 10.180.75.102 with SMTP id b6mr31495527wiw.26.1401793603242; Tue, 03 Jun 2014 04:06:43 -0700 (PDT) Received: from [10.0.0.5] (105-236-103-12.access.mtnbusiness.co.za. [105.236.103.12]) by mx.google.com with ESMTPSA id f17sm11367434wjr.19.2014.06.03.04.06.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 03 Jun 2014 04:06:42 -0700 (PDT) From: "David Joffe" To: pgsql-odbc@postgresql.org Date: Tue, 03 Jun 2014 13:06:15 +0200 MIME-Version: 1.0 Subject: Re: Recent ODBC drivers possibly broken on XP - missing msvcrt dll Message-ID: <538DAC27.2086.CC5829A@david.joffe.tshwanedje.com> X-mailer: Pegasus Mail for Windows (4.63) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Pg-Spam-Score: -1.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 Hi, Sorry, just to add to my message below, it seems I also needed to copy msvcp100.dll to make the driver work properly (i.e. the driver setup worked after copying msvcr100.dll but to actually use it I also needed msvcp100.dll). - David On 21 May 2014 at 22:26, I wrote: From: David Joffe To: pgsql-odbc@postgresql.org Subject: Recent ODBC drivers possibly broken on XP - missing msvcrt dll Date sent: Wed, 21 May 2014 22:26:00 +0200 > Hi, > > I installed the latest Windows PostgreSQL ODBC driver (17 May 2014 > 09_03_03) onto a test 32-bit XP SP3 system. When I tried to add a > datasource, I got the error message: > > "The setup routines for the PostgreSQL Unicode ODBC driver could not > be loaded due to system error code 126" > > Using dependency walker, I found the driver DLL to be missing > "msvcr100.dll". I manually copied msvcr100.dll into '\Program > Files\psqlODBC\0903\bin' and presto, the driver worked. > > To be clear, this is the 32-bit driver on a 32-bit system, so this > is not the 64/32-bit issue. > > Looking back at earlier PostgreSQL ODBC driver releases, I see that > up until the June 2013 driver, it seemingly included this DLL with > the MSI installer, but the most recent driver releases it is not > there. Evidently this seems to cause it to break on at least some XP > systems (I assume not all of them or there would be more people > complaining) - I'm not sure if it was intentional to break XP > support, or if it's a bug? (I mean, of course XP is EOL'd, but is > still on a sizable percentage of existing installed computers.) > (Alternatively, perhaps it is something anomalous to this specific > XP system, I'm not sure.) > > Regards, > > - David Joffe > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc