Without compile or link errors, it sounds like your program is simply crashing (segmentation fault?). Try running it in a debugger like gdb.
Are you able to compile and run the test programs provided with libpq++?
Curran
-----Original Message-----
From:
pgsql-cygwin-owner@... [mailto:
pgsql-cygwin-owner@...] On Behalf Of BELEM Mahamadou
Sent: Monday, June 23, 2008 9:23 AM
To:
pgsql-cygwin@...
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.
--
Sent via pgsql-cygwin mailing list (
pgsql-cygwin@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-cygwin