在设置好新的platform sdk之后,编译原有系统报:
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Mshtml.h(16768) : error C2367: 'IHTMLControlElement' : redefinition
把
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Mshtml.h
的
interface DECLSPEC_UUID("04598fc6-866c-11cf-ab7c-00aa00c08fcf")
换成
interface DECLSPEC_UUID("3050F4E9-98B5-11CF-BB82-00AA00BDCE0B")
就可以了
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Mshtml.h(16768) : error C2367: 'IHTMLControlElement' : redefinition
把
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\Mshtml.h
的
interface DECLSPEC_UUID("04598fc6-866c-11cf-ab7c-00aa00c08fcf")
换成
interface DECLSPEC_UUID("3050F4E9-98B5-11CF-BB82-00AA00BDCE0B")
就可以了
本文介绍了解决在更新platformsdk后遇到的Mshtml.h文件中'IHTMLControlElement'重复定义的问题。通过修改特定UUID,成功解决了编译错误。
5044

被折叠的 条评论
为什么被折叠?



