I\'m trying to create a .dll with Visual Studios 2013. The project includes libpq functionality.
Per other stackoverflow posts, and other sources I\'ve found on the
I've successfully compiled the sample program by setting these project properties:
\include
and \lib
to VC++ Directories->Include and ->Library, correspondinglylibpq.lib
to Linker->Input->Additional dependenciesThis is the standard way to reference 3rd-party libs. It's just that they recommend using environment variables for their "base dirs" to avoid patching the project when it's under a VCS.
PATH=%PATH%;\bin
in Debugging->Environment since this dir isn't in PATH
on my system.