title: Problem with GetLastError API on windows 7
body: <p>I have one application that interacts with the server. If the server is down then then I will get <code>ERROR_WINHTTP_CANNOT_CONNECT</code> I am using <code>getLastError()</code> API to get this error code, I am handling this error code to display proper error messages to the users. This program works fine in Windows 2003. When i tried with Windows7 i am not getting any error, <code>getLastError()</code> API returns 0 every time even if error is occurred. I am using C++ as of programming language is concerned.</p>
  
  <p>Thanks In advance</p>
  
  <p>Santhu</p>