title: How do include paths work in Visual Studio?
body: <p>Visual Studio drives me crazy and I am suspecting I am doing something wrong.</p>
  
  <p>This is what I do: I installed Visual Studio (Pro '08) a long time ago, I installed the Windows SDK (Win 7 x64), someone emails me a project, it fails to build.</p>
  
  <p>Invariably, it can not find windows.h. While it is easy enough to include <code>C:\Program Files\Microsoft SDKs\Windows\v7.0\Include</code> in the project settings of every single project, I feel that this may not be the proper way to do it. Is there a way to somehow make Visual Studio globally aware of these files?<br>
  I also tried to include the above directory in the <code>path</code> variable but that didn't change anything.</p>
  
  <p>Also, it will randomly find windows.h but not winresrc.h in the same directory.</p>
  
  <p><strong>Edit:</strong><br>
  It was a problem with my machine. Somehow, Visual Studio thought that my Windows SDK was in the wrong place. See accepted answer and comments for the fix.</p>