From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | luca(dot)ciciriello(at)email(dot)it |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: using libpq.lib in Microsoft C++ (managed) |
Date: | 2007-10-24 13:52:37 |
Message-ID: | 20071024135237.GE14328@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Oct 24, 2007 at 03:06:03PM +0200, luca(dot)ciciriello(at)email(dot)it wrote:
> Hi All.
> I've the necessity to call some functions of libpq.lib from my code. The
> problem is that my code is Managed C++ (as defined by Microsoft VisualStudio
> 2005). Managed C++ has a very special memory management and I don't know if
> using libpq.lib (an old C library) is a safe procedure. I've Already had
> problems using libpq.lib in a multi-threaded standard C++ and so I'm quite
> doubtful that all will work fine in Managed C++.
>
> Has some one had experience concerning my doubts?
If you are using Managed C++, you should probably be using npgsql instead
of libpq.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Silveira | 2007-10-24 13:56:11 | Re: Extracting Index Creation Script |
Previous Message | cluster | 2007-10-24 13:47:22 | Re: Selecting K random rows - efficiently! |