Thread: C++ with Borland

C++ with Borland

From
"Vishal Sudheer"
Date:
<p> Hi,<br /><br />   Is there any C++ library to access Postgres from Windows<br /> and can be compiles using Borland
C++5.5<br /><br />   Thank you.<br /><br /> Vishal <br /><br /><a
href="http://clients.rediff.com/signature/track_sig.asp"target="_blank"><img border="0" height="74" hspace="0"
src="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom"vspace="0" width="496"
/></a>

Re: C++ with Borland

From
Bruce Momjian
Date:
Vishal  Sudheer wrote:
> Hi,
> 
>   Is there any C++ library to access Postgres from Windows
> and can be compiles using Borland C++ 5.5

I know our libpq compiles under Borland's compiler and that is a C
interface.  I think you could just get libpqxx from gborg.postgresql.org
and use that too.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: C++ with Borland

From
"Jeroen T. Vermeulen"
Date:
On Fri, Nov 28, 2003 at 03:41:09PM -0500, Bruce Momjian wrote:
> 
> I know our libpq compiles under Borland's compiler and that is a C
> interface.  I think you could just get libpqxx from gborg.postgresql.org
> and use that too.

Don't have C++ Builder project files for that yet though, so there may be
some experimentation involved.  But if the compiler is up to the job (and
my past experience suggests it probably is) then any minor changes can be
taken into the libpqxx distribution.


Jeroen