直接Visual Studio 2005/2008中进行如下设置:tools= > Options = > Projects and Solutions - > VC++ Directories page 把$(PATH)改成:$(SystemRoot)\System32;$(SystemRoot) ;$(SystemRoot)\System32\wbem 相关文章: