title: glfwCreateWindow returns NULL
body: <p>I have been working on a small openGL project using C++ in Visual Studio 2015. I am using GLFW and GLEW.</p>
  
  <p>After having some hardware trouble (hard disk) I reinstalled windows on my laptop. Now I try to continue on my project which was running/debugging without trouble before, but now I get an error.</p>
  
  <p>glfwCreateWindow() returns NULL (even without any glfwWindowHints), and glewInit() fails also.</p>
  
  <p>I thought it was because of my drivers, but I have updated drivers for both my integrated graphic cards (Intel HD 4000) and my high performance Nvidia GPU.</p>
  
  <p>Using <em>openGL extension viewer</em>, I see that the integrated card support OpenGL 4.0 and the Nvidia GPU supports 4.4.</p>
  
  <p>This project is rather large, so just to eliminate problem I created a simple create a triangle code based on GLFW and GLEW, but I still get error from glfwWindowCreate().</p>
  
  <p>I have googled, and other than updating the drivers, I can't find other solutions. What can cause this failure?</p>