X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 884BCD1C511 for ; Mon, 21 Jul 2003 13:11:59 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 33765-03 for ; Mon, 21 Jul 2003 13:11:57 +0000 (GMT) Received: from omta02.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by svr1.postgresql.org (Postfix) with ESMTP id 51E62D1C4B7 for ; Mon, 21 Jul 2003 10:11:57 -0300 (ADT) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta02.mta.everyone.net (Postfix) with ESMTP id 2A14930B5 for ; Mon, 21 Jul 2003 06:11:59 -0700 (PDT) Received: by sitemail.everyone.net (Postfix, from userid 99) id A782D47FA; Mon, 21 Jul 2003 06:11:58 -0700 (PDT) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Mon, 21 Jul 2003 06:11:58 -0700 (PDT) From: Sagine E.Ferrus To: pgsql-interfaces@postgresql.org Subject: Libpq++ & Borland C++ Reply-To: sagine@islanderonline.com X-Originating-Ip: [65.174.220.65] Message-Id: <20030721131158.A782D47FA@sitemail.everyone.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/35 X-Sequence-Number: 4349 I want to use Libpq++ wit borland c++. I try to use libpq++ libs in my application but i keep getting linker errors, Can anyone help Please. I was not able to use the available make files to compile the files so i had to do it in borland and create a package and add all the files to the package. I dont know what more to do. Here is my code : ... PGconn * connection; connection = PQconnectdb("dbname=db_gatecop"); PQfinish(connection); ... and here is the error message: [Linker Error] Unresolved external '_PQconnectdb' referenced from testing.Obj _____________________________________________________________ Visit our Caribbean Community at http://www.islanderonline.com