pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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:14:15 +0200
Message-ID: <180377765.1050178455@sauron.in.mat.cc> (raw)
In-Reply-To: <AC4C19CA-6D0C-11D7-89EE-000A27AFF5D2@noos.fr>
References: <AC4C19CA-6D0C-11D7-89EE-000A27AFF5D2@noos.fr>



--Le 12/04/2003 19:32 +0200, Stéphane Pinel écrivait :

| 
| Le samedi, 12 avr 2003, à 19:20 Europe/Paris, Mathieu Arnold a écrit :
| 
|> 
|> 
|> --Le 12/04/2003 19:16 +0200, Stéphane Pinel écrivait :
|> 
|> | Is there a libpq.dll that I can link to a Visual C++ .Net project
|> | exactly the way I do it with libpq on my Darwin box ?
|> | 
|> | Thanks.
|> 
|> I guess you should have a look at :
|> <http://gborg.postgresql.org/project/npgsql/projdisplay.php;
|> 
| 
| Thanks
| 
| I saw this project but I read:
| 
| "Npgsql is implemented in C#"
| 
| I just want to use C. To be more specific, I've developed a C client on
| Darwin, using libpq.lib and I would like to re-use my code (calls to
| libpq C  lib) in a Visual C++ .Net (Win32) project. The ideal should be
| to have not much  work to port it ;-)
| 
| But since I'm not a win32 hacker, I would like to know if I can use a
| .dll or static lib that could help me to do that without hacking in a
| win32  environment that I don't know.

Implemented != can be used with
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.

-- 
Mathieu Arnold




view thread (8+ messages)  latest in thread

Message-ID: <180377765.1050178455@sauron.in.mat.cc>
Permalink:  ../180377765.1050178455@sauron.in.mat.cc/
Also on:    postgresql.org/message-id/180377765.1050178455@sauron.in.mat.cc

 · 

reply

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: <180377765.1050178455@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