libpq++ - Mailing list pgsql-interfaces

From Josh Harris
Subject libpq++
Date
Msg-id 001e01c33be3$65443650$0b01a8c0@cti.co.za
Whole thread Raw
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: William Suetholz
Date:
Subject: Re: ECPG for ODBC?
Next
From: "David F. Skoll"
Date:
Subject: Re: Weird behaviour on Solaris: recv() returns ENOENT