Ticket #151 (closed defect: invalid)

Opened 5 months ago

Last modified 5 months ago

problem with c++ borland

Reported by: anonymous Assigned to: jtv
Priority: normal Milestone:
Component: other Version:
Severity: helpdesk Keywords:
Cc:

Description

hi...I tried to connect my postgresql db to a simple program c++ borland 6. I can't open the connection with the db. I tried with: #include "libpq-fe.h "

PGconn *conn; conn=PQsetdbLogin("localhost", "5432", NULL, NULL, "fatture", "postgres", "0000") ; I've got always the same error: Unresolved external '_PQsetdbLogin' referenced from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DOCUMENTI\RAD STUDIO\PROJECTS\DEBUG\MAINALEX.OBJ

What I've gotta do??Help me thanks!

Attachments

Change History

07/31/08 10:26:24 changed by jtv

  • status changed from new to closed.
  • resolution set to invalid.
  • severity changed from normal to helpdesk.

This looks like you're not using libpqxx but libpq, so this is not the right site for your question.

However, it looks like either you haven't installed the headers to build programs using libpq, or you haven't configured the compiler environment to find them. Try locating that file, and once you know where it is, set your include path accordingly.


Add/Change #151 (problem with c++ borland)




Change Properties
Action