I am assuming the error is "dll-name.dll is not found"
The instructions posted, in the link you've provided, are for static linking of the poco libraries.
DLL's are linked at the runtime of the executable, where as the instructions tell you how to compile the program successfully
You have to tell OS and not Visual studio where to look for the DLL.
Search path for DLL -specifies where the OS looks for DLL and in what order
The link tells you the order which is roughly the following :
1) Directory in which the executable resides.
2) The current directory ( i.e working directory if you are running the executable from visual studio)
3)Windows system directory ( you don't want to add anything manually here)
4)Windows directory ( same as above , don't tinker with this one as well)
5)All the locations specified using PATH variable ( NOTE: PATH can be set using this from visual studio or can be set through control panel as well)
So two ways to solve the problem :
1)your dll-name.dll should reside in any of the specified folders above.
Or
2) if your dll is in folder C:\path\where\dll\is\
set PATH = PATH;C:\patj\where\dll\is