X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 279EC9DCBF0 for ; Mon, 9 Jan 2006 04:48:55 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16821-01 for ; Mon, 9 Jan 2006 04:48:56 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id E03909DCBEF for ; Mon, 9 Jan 2006 04:48:52 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 87D0933A69; Mon, 9 Jan 2006 09:48:54 +0100 (MET) From: "Michael" X-Newsgroups: pgsql.interfaces Subject: Compiling and linking a Program interfacing with libpq.dll Date: 8 Jan 2006 19:57:33 -0800 Organization: http://groups.google.com Lines: 14 Message-ID: <1136696049.793375.101010@g43g2000cwa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=24.21.59.234; posting-account=aVsWvg0AAABCG6-NRi8cvnfxId7jfOWN To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/14 X-Sequence-Number: 5930 I am trying to compile, link and execute the first example in the Postgres 8.1.1 manual using the libpq.dll library. Nothing I have tried works. I am using the free Borland Compiler 5.5. Can any give me the command line parameters for compiling and linking a C program using this compiler. I have tried everything I can think of, referenced the section 28.15 for compiling and linking. Also I have searched the archives and found nothing that helped. Thanks!