Monday, June 23, 2008

[CYGWIN] why it is impossible to connect to the data base?

Dear all

I tried to connect my data base using a C++ program.

I use the following instructions  but it is impossible to make the connection.
Can someone explain me the problem.

 PGconn *conn;
 conn = PQsetdbLogin("localhost",
                     NULL,
                     NULL,
                     NULL,
                     "database",
                     "user",
                     "password");

Best regards



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.

No comments: