由于我安装了platform SDK,编译导致错误:
error C2367: 'IHTMLControlElement' : redefinition; different uuid specifiers
解决办法:
将
C:Program FilesMicrosoft Visual StudioVC98INCLUDEMshtml.h
的
interface DECLSPEC_UUID("04598fc6-866c-11cf-ab7c-00aa00c08fcf")
换成
interface DECLSPEC_UUID("3050F4E9-98B5-11CF-BB82-00AA00BDCE0B")
就可以了