title: Is it a Must to use both pthreadVC2.lib and pthreadVC2.dll in visual studio 2013?
body: <p>I download pthread-w32-2-9-1-release.zip, unzip it and use Prebuild/include lib and dll with VisualStudio2013.</p>
  
  <p>I set up a VC++ empty project "helloc" with main.c, then write a simple example with pthread_create pthread_join functions.</p>
  
  <p>This is my configure:</p>
  
  <p>Properties->C/C++->General->Additional Include Directories, add "F:\pthread_win32\include"</p>
  
  <p>Properties->Linker->General->Additional Library Directories, add "F:\pthread_win32\lib\x86"</p>
  
  <p>Properties->Linker->Input->Additional Dependencies, add "pthreadVC2.lib"</p>
  
  <p>And it's successfully build, but when I click "Local Windows Debugger", the console break with "helloc.exe error because cannot find pthreadVC2.dll".</p>
  
  <p>Then I copied pthreadVC2.dll to helloc/Debug/, same directory with helloc.exe, finally it's working.</p>
  
  <p>But I don't know why the pthreadVC2.lib and pthreadVC2.dll are both required by helloc.exe. Is it a must that both lib and dll being used in VisualStudio ?</p>
  
  <p>If only one of them (pthreadVC2.lib pthreadVC2.dll) is enough to support helloc.exe, how can I specify which one (dll or lib) I want to use in VisualStudio with helloc.exe ?</p>
  
  <p>And I don't want to put all pthread libs and dlls into "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC", I want to know how to configure manually.</p>