Re: Linking Win32 applications with libpq

"Merlin Moncure" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> Hi,
> 
> I recently downloaded PostgreSQL native port for Windows.  I could not
> find libpq.lib.  I am trying to link my win32 application with libpq
> statically.  How can I link libpq statically to my application?  I
could
> not find libpqdll.lib either to link dynamically.  But there is a
> libpq.dll in the distribution.
> 
> Thank you very much in advance,
> Sagar.

What's your application build environment?  If you are using visual
studio use it to build libpq and it produces a .lib file.  Same for
Borland.

Merlin

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.