X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 766A230F175 for ; Thu, 26 Jun 2003 13:06:18 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 48177-06 for ; Thu, 26 Jun 2003 10:06:03 -0300 (ADT) Received: from first-lx3.storage.co.za (first-lx3.storage.co.za [196.31.129.138]) by svr1.postgresql.org (Postfix) with ESMTP id C609B30FA07 for ; Thu, 26 Jun 2003 10:06:00 -0300 (ADT) Received: from stargate.cti.co.za ([192.168.211.5]) by first-lx3.storage.co.za (8.11.6/8.11.6) with ESMTP id h5QD6tg30234 for ; Thu, 26 Jun 2003 15:06:56 +0200 Received: from joshh (user11 [192.168.1.11]) by stargate.cti.co.za (8.11.2/8.9.3) with SMTP id h5QD7Sn01735 for ; Thu, 26 Jun 2003 15:07:35 +0200 Reply-To: From: "Josh Harris" To: Subject: libpq++ Date: Thu, 26 Jun 2003 15:03:52 +0200 Message-ID: <001e01c33be3$65443650$0b01a8c0@cti.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-MailScanner: Found to be clean X-MailScanner-Information: Please contact the ISP for more information X-Archive-Number: 200306/96 X-Sequence-Number: 4307 Hi there. I am having trouble getting C++ to interface with a PostgreSQL database. I want to use the libpq++ library, but can't quite figure out quite how. I am using PostgreSQL 7.3.1 on WinXP. This distribution doesn't seem to have shipped with libpq++, so I downloaded it seperately. The problem is that I can't seem to get any of the example code to compile. I am using MinGW. I have linked my project to the libpq.a library, included all the source files in the libpq++4.0 folder that I downloaded, and specified the path to their headers. Does anyone have any experience with libpq++ on windows using MinGW? Any help would be much appreciated. Thanks, Josh Harris. joshh@cti.co.za