Re: libpq.dll
От | Mathieu Arnold |
---|---|
Тема | Re: libpq.dll |
Дата | |
Msg-id | 180377765.1050178455@sauron.in.mat.cc обсуждение исходный текст |
Ответ на | Re: libpq.dll (Stéphane Pinel <spinel@noos.fr>) |
Ответы |
Re: libpq.dll
|
Список | 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 : |> <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
В списке pgsql-interfaces по дате отправления: