title: Creating a minimalistic MSHTML-based window
body: <p>I have a library for Haskell that can take an ordinary web application, run it on a local server, and then open up a window displaying that application using QtWebkit. The <a href="https://github.com/snoyberg/hack-handler-webkit/blob/master/webkit.cpp" rel="nofollow">code to interface with Qt</a> is very short. However, I would like to avoid the Qt overhead for Windows users.</p>
  
  <p>It seems like the best approach would be to have an alternative to this QtWebkit-based C++ file that instead uses the MSHTML library on Windows. Unfortunately, I have almost no experience with Windows-specific libraries. It seems like I need to use the <a href="http://msdn.microsoft.com/en-us/library/aa752127%28v=vs.85%29.aspx" rel="nofollow">IWebBrowser2 interface</a>, but that seems mostly speculative.</p>
  
  <p>If someone can point me in the right direction on this, I would be much obliged. The final trick here is that it has to compile with MinGW. Not sure how much of a complication that is in this case.</p>
  
  <p>Thanks</p>