title: What's the recommended way to get winhttp.h?
body: <p>Our application uses libcurl for HTTP, and we want to get access to Internet Explorer's proxy settings. An earlier Stack Overflow question <a href="https://stackoverflow.com/questions/202547/how-do-i-find-out-the-browsers-proxy-settings">recommends that we use <code>WinHttpGetIEProxyConfigForCurrentUser</code> and <code>WinHttpGetProxyForUrl</code></a>.</p>
  
  <p>Unfortunately, the <code>winhttp.h</code> header does not appear to be included with our copies either Visual C++ 2005 or Visual Studio 2008. Apparently, <a href="http://bbulkow.blogspot.com/2006/04/winhttp-and-visual-studio-2005-howto.html" rel="nofollow noreferrer">it's possible to download an updated Platform SDK and install it in Visual C++ 2005</a>, but it's a pretty painful process, and it doesn't necessarily work with newer versions of Visual Studio.</p>
  
  <p>Is there a good, well-supported way to access the WinHTTP 5.1 APIs from C++? Or should we avoid using these APIs?</p>