X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 54A50475AA9 for ; Sat, 12 Apr 2003 14:39:53 -0400 (EDT) Received: from mx3.absolight.com (mx3.absolight.net [212.43.217.9]) by postgresql.org (Postfix) with ESMTP id 9A9D247580B for ; Sat, 12 Apr 2003 14:39:52 -0400 (EDT) Received: by mx3.absolight.com (Postfix, from userid 1007) id D6D522A09; Sat, 12 Apr 2003 20:40:04 +0200 (CEST) X-Original-To: pgsql-interfaces@postgresql.org Received: from sauron.in.mat.cc (sauron.in.mat.cc [212.43.217.122]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by mx3.absolight.com (Postfix) with ESMTP id 3595F29F3; Sat, 12 Apr 2003 20:40:03 +0200 (CEST) Date: Sat, 12 Apr 2003 20:40:07 +0200 From: Mathieu Arnold To: =?ISO-8859-1?Q?St=E9phane_Pinel?= Cc: pgsql-interfaces@postgresql.org Subject: Re: libpq.dll Message-ID: <181929890.1050180007@sauron.in.mat.cc> In-Reply-To: <1A5825BB-6D15-11D7-89EE-000A27AFF5D2@noos.fr> References: <1A5825BB-6D15-11D7-89EE-000A27AFF5D2@noos.fr> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, hits=-16.3 required=5.0 tests=BAYES_01,IN_REP_TO,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/113 X-Sequence-Number: 4052 --Le 12/04/2003 20:32 +0200, St=E9phane Pinel =E9crivait : |=20 | Le samedi, 12 avr 2003, =E0 20:14 Europe/Paris, Mathieu Arnold a =E9crit : |=20 |> The thing is that I believe that you could find a libpq.dll from the=20= =20 |> win32 |> postgresql port, but, you're using V .Net, and so, you should use a=20= =20 |> .Net |> data provider, thus, npgsql, which is just that. If you get npgsql,=20= =20 |> you'll |> have a nice dll you can add to your project's references, and then, |> using Npgsql; |> if you use C#, or in your case, well, hum, I'm not quite good enough=20= =20 |> with |> visual studio to tell you how to use a dll with your project, but it=20= =20 |> must |> be possible in a way or another. |>=20 |=20 | So there is no lib that can be linked without other stuff just like we | use to do with libpq.a on Darwin (or Unix) ? |=20 | My app doesn't handle any GUI stuff. It just a libpq C wrapper. My main | need is to be able to execute "conn =3D PQconnectdb(cinfo);" etc... in a | Visual C++ project. Well, I don't know what is the status of the win32 postgresql port, maybe there is a libpq.dll, maybe not. What I know, is that you can use Npgsql in a close way from what you use libpq. --=20 Mathieu Arnold