我把我們的項目之一從VS6到VS2008的過程是編譯和我打同mshtml.h以下編譯錯誤:編譯mshtml.h錯誤與VS2008
1>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5272) : error C2143: syntax error : missing '}' before 'constant'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(5275) : error C2143: syntax error : missing ';' before '}'
1>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>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2059: syntax error : '}'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2143: syntax error : missing ';' before '}'
1>c:\program files\microsoft sdks\windows\v6.0a\include\mshtml.h(28523) : error C2059: syntax error : '}'
繼第一個錯誤的語句刪除到mshtml.h這部分代碼,在「真= 1」行指出:
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;
它看起來像有人在專家sexchange碰到這個錯誤也來了,但我寧願不要以「7天免費試用」來尊重該網站。
任何建議將是最受歡迎的。
一直滾動到該頁面的底部 - 答案將在那裏unobscured – 2008-09-23 01:58:41