Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0624437B9D2 for ; Sun, 11 Nov 2007 20:27:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 63823-04 for ; Sun, 11 Nov 2007 20:27:10 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by postgresql.org (Postfix) with ESMTP id 757AB37B9B3 for ; Sun, 11 Nov 2007 20:27:15 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so763805nfh for ; Sun, 11 Nov 2007 16:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=HWIuyK7Z3fWBTAlfz+/VMyUmyHre/1O0E5VCY6KDBVo=; b=KsSTiE+NmH0zKqUZLpOTvdKLIaVSaH7lGKHqC75D0ukf7YzJKBmOV2EWJZK0qjTSiFU4Mg/TImGEsMs7nMA9OorvuCe8TZk05X5CgxfSrgoFjhUmHsek4RNcrm8nq5OXyvuzkdpCkcjIJO0FPCyrCEiN0CIGd+ykRdayR+nsPYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kUwbRm/TYUjByRlwWJP8fYSmww3/J2Slqyo35KZXoWyDGXV9Y7DBnCnQFwWhCrLnpFzcCrXKs7oriMARTyj1iH4sMcm0FZ23VftLO2CWMp3nCkjIsDx2SaapMiiPSaVMaP5uTxS1MLgB/270I/XEAske2jJrSvKkY/JJQT91Mtk= Received: by 10.78.173.20 with SMTP id v20mr4895012hue.1194827232702; Sun, 11 Nov 2007 16:27:12 -0800 (PST) Received: by 10.78.186.18 with HTTP; Sun, 11 Nov 2007 16:27:12 -0800 (PST) Message-ID: Date: Sun, 11 Nov 2007 19:27:12 -0500 From: PokerAce To: pgsql-interfaces@postgresql.org Subject: libpq crashing under Vista MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13204_17595374.1194827232696" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/5 X-Sequence-Number: 6649 ------=_Part_13204_17595374.1194827232696 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I recently upgraded my computer to Vista. When I went to run my application (which ran beautifully under XP), the release build (VC++ 6) crashes every time libpq attempts to connect to the server I have running on localhost. The debug build runs fine. Through logging, I've found that it happens inside the PQconnectdb function and because I get no firewall notifications, I know it's not even attempting to connect over the network. I've tried using version 8.1.9 and 8.2.5 and get the same result in both. If I link with the libraries included with PostgreSQL 8.2.5, it works fine, but I'd rather have a statically linked version (my debug build has better performance when linked to the static lib than the release build did linked to the DLLs). Again, this exact same setup with the exact same version of PostgreSQL worked fine under XP. I'm new to Vista, so perhaps there's something I'm overlooking. Any ideas or advice is appreciated. Josh ------=_Part_13204_17595374.1194827232696 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I recently upgraded my computer to Vista.  When I went to run my application (which ran beautifully under XP), the release build (VC++ 6) crashes every time libpq attempts to connect to the server I have running on localhost.  The debug build runs fine.  Through logging, I've found that it happens inside the PQconnectdb function and because I get no firewall notifications, I know it's not even attempting to connect over the network.

I've tried using version 8.1.9 and 8.2.5 and get the same result in both.  If I link with the libraries included with PostgreSQL 8.2.5, it works fine, but I'd rather have a statically linked version (my debug build has better performance when linked to the static lib than the release build did linked to the DLLs).

Again, this exact same setup with the exact same version of PostgreSQL worked fine under XP.  I'm new to Vista, so perhaps there's something I'm overlooking.  Any ideas or advice is appreciated.

Josh
------=_Part_13204_17595374.1194827232696--