Re: PostgreSQL connect with Visual C++ - Mailing list pgsql-general

From Christian Ullrich
Subject Re: PostgreSQL connect with Visual C++
Date
Msg-id kh752n$t5d$1@ger.gmane.org
Whole thread Raw
In response to Re: PostgreSQL connect with Visual C++  (dhaval257 <dhaval.damka@gmail.com>)
List pgsql-general
* dhaval257 wrote:

> No It is not using .NET framework. I tried with libpq but ended up with
> error that "Application can not run because SSLEAY32.dll is missing"
> (something like this). So I left that thing. Have you used libpq?

ssleay32.dll is part of the PostgreSQL distribution, and is installed in
the /bin/ directory. Since you are getting that error for ssleay32.dll
and not for libpq.dll, I assume you copied libpq.dll somewhere. Copy
ssleay32.dll to the same place.

You will probably get similar errors for other DLLs; all of them are
likely to be in the PostgreSQL /bin/ directory.

As an alternative, you can just add that directory to your %PATH% variable.

--
Christian


pgsql-general by date:

Previous
From: dhaval257
Date:
Subject: Re: PostgreSQL connect with Visual C++
Next
From: Glyn Astill
Date:
Subject: Re: Why does slony use a cursor? Anyone know?