pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Harris <joshh@cti.co.za>
To: pgsql-interfaces@postgresql.org
Subject: libpq++
Date: Thu, 26 Jun 2003 15:03:52 +0200
Message-ID: <001e01c33be3$65443650$0b01a8c0@cti.co.za> (raw)

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




view thread (36+ messages)  latest in thread

Message-ID: <001e01c33be3$65443650$0b01a8c0@cti.co.za>
Permalink:  ../001e01c33be3$65443650$0b01a8c0@cti.co.za/
Also on:    postgresql.org/message-id/001e01c33be3$65443650$0b01a8c0@cti.co.za

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: joshh@cti.co.za
  Subject: Re: libpq++
  In-Reply-To: <001e01c33be3$65443650$0b01a8c0@cti.co.za>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox