我在VC ++ 2010专业版中遇到了这个编译错误。令我感到困惑的是,我没有包含windef.h文件,也没有包含任何与Microsoft SDK相关的内容,因此我想找到哪个cpp文件需要该头文件进行编译。任何帮助将不胜感激。
error C2011: 'HDC__' : 'struct' type redefinition
1> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\windef.h(267) : see declaration of 'HDC__'