Re: PostgreSQL connect with Visual C++

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "dhaval257 *EXTERN*" <dhaval(dot)damka(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL connect with Visual C++
Date: 2013-03-06 09:30:33
Message-ID: A737B7A37273E048B164557ADEF4A58B057BB041@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

dhaval257 wrote:
> I am new to postgres. I am doing Project on Image processing in OpenCV(IDE
> i am using is Visual C++ 2010). I have downloaded PostgreSQL 8.4 and
> installed it successfully. I want to know how to connect postgres with
> visual C++.

Use something more recent than 8.4 if you can.

You should be able to use the C API (libpq) from C++.
That's part of PostgreSQL core.

Alternatively, you can use the C++ connector libpqxx
(http://pqxx.org/development/libpqxx/)

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Atri Sharma 2013-03-06 09:47:37 Security review
Previous Message Misa Simic 2013-03-06 08:11:07 Re: Finding matching words in a word game