Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1DD3A2E01AC for ; Thu, 6 Dec 2007 17:05:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 20037-03 for ; Thu, 6 Dec 2007 17:05:26 -0400 (AST) Received: from ns1.peker.com.pl (181-ego-2.acn.waw.pl [62.121.85.181]) by postgresql.org (Postfix) with SMTP id 0281D2E0166 for ; Thu, 6 Dec 2007 17:05:29 -0400 (AST) Received: (qmail 27813 invoked by uid 540); 6 Dec 2007 21:11:02 -0000 Received: from 83.143.210.69 by ns1.peker.com.pl (envelope-from , uid 401) with qmail-scanner-1.25st (clamdscan: 0.82/760. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(83.143.210.69):. Processed in 0.081264 secs); 06 Dec 2007 21:11:02 -0000 Received: from host69-83-143-210.limes.com.pl (HELO ?192.168.1.2?) (informatyka-adamr@83.143.210.69) by ns1.peker.com.pl with SMTP; 6 Dec 2007 21:11:02 -0000 Message-ID: <47586379.5060204@informatyka.gdansk.pl> Date: Thu, 06 Dec 2007 22:02:49 +0100 From: =?ISO-8859-2?Q?Adam_Rad=B3owski?= User-Agent: Thunderbird 2.0.0.4 (X11/20070604) MIME-Version: 1.0 To: PokerAce CC: pgsql-interfaces@postgresql.org Subject: Re: libpq crashing under Vista References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/1 X-Sequence-Number: 6666 I'm writing programs for Linux only, but ... Have You tested, how psql works ? Psql program uses libpq library too. Brgds Adam PokerAce pisze: > 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