解决方法:
In the Options go into Projects and Solutions -> VC++ Directories page and place this rows: $(SystemRoot)\System32 $(SystemRoot) $(SystemRoot)\System32\wbem 适用VC8的各种工程项目(包括移动设备的项目),如果在加了以后还出现这样的错误提示,将上面的三句删除掉,重新加一次就可以。
参考博客:点击打开链接