Received: from sol.runesoft.com (IDENT:root@twilight.cable.conwaycorp.net [205.198.213.132] (may be forged)) by hub.org (8.9.2/8.9.1) with ESMTP id UAA73410 for ; Fri, 12 Mar 1999 20:43:03 -0500 (EST) (envelope-from beldri@runesoft.com) Received: from runesoft.com ([192.168.2.2]) by sol.runesoft.com (8.8.7/8.8.7) with ESMTP id TAA00033 for ; Fri, 12 Mar 1999 19:43:53 -0500 Message-ID: <36E9C207.407DDCAA@runesoft.com> Date: Fri, 12 Mar 1999 19:40:23 -0600 From: Brian Eldridge Organization: Runesoft X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: PostgreSQL Interfaces Subject: follow up on libpq problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mental note: If you're using Win32's, link to libpqdll.lib, not libpq.lib. When I changed the lib I was linking to, everything worked fine. Apparently libpq.lib doesn't initialize WinSock, so the gethostbyname() call wasn't working. Thanks to everyone for your help.