title: Compile errors in mshtml.h compiling with VS2008
body: <p>I'm in the process of moving one of our projects from VS6 to VS2008 and I've hit the following compile error with mshtml.h:</p>
  
  <pre><code>1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5272) : error C2143: syntax error : missing '}' before 'constant'
  1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5275) : error C2143: syntax error : missing ';' before '}'
  1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2059: syntax error : '}'
  1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2143: syntax error : missing ';' before '}'
  1&gt;c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2059: syntax error : '}'
  </code></pre>
  
  <p>Following the first error statement drops into this part of the mshtml.h code, pointing at the "True = 1" line:</p>
  
  <pre><code>EXTERN_C const GUID CLSID_CDocument;
  EXTERN_C const GUID CLSID_CScriptlet;
  typedef 
  enum _BoolValue
      {   True    = 1,
      False   = 0,
      BoolValue_Max   = 2147483647L
      }   BoolValue;
  
  EXTERN_C const GUID CLSID_CPluginSite;
  </code></pre>
  
  <p>It looks like someone on expert-sexchange also came across this error but I'd rather not dignify that site with a "7 day free trial".</p>
  
  <p>Any suggestions would be most welcome.</p>