follow up on libpq problem - Mailing list pgsql-interfaces

From Brian Eldridge
Subject follow up on libpq problem
Date
Msg-id 36E9C207.407DDCAA@runesoft.com
Whole thread Raw
List pgsql-interfaces
Mental note:  If you're using Win32's, link to libpqdll.lib, not
libpq.lib.
When I changed the lib I was linking to, everything worked fine.
Apparently libpq.lib doesn't initialize WinSock, so the gethostbyname()
call wasn't working.

Thanks to everyone for your help.


pgsql-interfaces by date:

Previous
From: Michael Davis
Date:
Subject: RE: [INTERFACES] DefineIndex fails
Next
From: Matthew Hagerty
Date:
Subject: [off-topic] Database normalization, can't be done!