Without compile or link errors, it sounds like your program is simply crashing (segmentation fault?). Try running it in
adebugger like gdb.
Are you able to compile and run the test programs provided with libpq++?
Curran
-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org [mailto:pgsql-cygwin-owner@postgresql.org] On Behalf Of BELEM Mahamadou
Sent: Monday, June 23, 2008 9:23 AM
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Cygwin and postgresql connexion
Dear all
I am a new user of Postgresql.
I try to connect to a data base using à C++ program. Then, I import libpq-fe.h.
By when I compile my program no error occurs but it is impossible to run the program.
The program stop wothout error during the execution. I use cygwin.
Someone can explain me the problem?
Now I want to use liqpq++ but I don't know how to import this library using cygwin.
I notice that I am using cygwin
Best regard
________________________________
Envoyé avec Yahoo! Mail
<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html>
.
Une boite mail plus intelligente.