From: Mathieu Arnold <mat@mat.cc>
To: Stéphane Pinel <spinel@noos.fr>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq.dll
Date: Sat, 12 Apr 2003 20:40:07 +0200
Message-ID: <181929890.1050180007@sauron.in.mat.cc> (raw)
In-Reply-To: <1A5825BB-6D15-11D7-89EE-000A27AFF5D2@noos.fr>
References: <1A5825BB-6D15-11D7-89EE-000A27AFF5D2@noos.fr>
--Le 12/04/2003 20:32 +0200, Stéphane Pinel écrivait :
|
| Le samedi, 12 avr 2003, à 20:14 Europe/Paris, Mathieu Arnold a écrit :
|
|> The thing is that I believe that you could find a libpq.dll from the
|> win32
|> postgresql port, but, you're using V .Net, and so, you should use a
|> .Net
|> data provider, thus, npgsql, which is just that. If you get npgsql,
|> 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
|> with
|> visual studio to tell you how to use a dll with your project, but it
|> must
|> be possible in a way or another.
|>
|
| 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) ?
|
| My app doesn't handle any GUI stuff. It just a libpq C wrapper. My main
| need is to be able to execute "conn = 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.
--
Mathieu Arnold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: mat@mat.cc, spinel@noos.fr
Subject: Re: libpq.dll
In-Reply-To: <181929890.1050180007@sauron.in.mat.cc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox