Skip site navigation (1) Skip section navigation (2)

Re: libpq.dll

From: Mathieu Arnold <mat(at)mat(dot)cc>
To: Stéphane Pinel <spinel(at)noos(dot)fr>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq.dll
Date: 2003-04-12 18:14:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

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

In response to


pgsql-interfaces by date

Next:From: Stéphane PinelDate: 2003-04-12 18:32:23
Subject: Re: libpq.dll
Previous:From: Stéphane PinelDate: 2003-04-12 17:32:02
Subject: Re: libpq.dll

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group