方法1:
In the Options go into Projects and Solutions -> VC++ Directories page and place this rows:
$(SystemRoot)\System32
$(SystemRoot)
$(SystemRoot)\System32\wbem
適用VC8的各種工程項目(包括移動設備的項目),如果在加了以后還出現這樣的錯誤提示,將上面的三句刪除掉,重新加一次就可以。
方法2:
在Visual Studio中,選擇工具->選項->工程和解決方案->VC++目錄
點擊上方的像文件夾的按鈕-新建行,然后在空白處添加cmd.exe所在的目錄C:\Windows\System32\ (如果你是默認裝在C盤的話)點擊確定,就OK了。
In VS, go to
tools>options>projects and solutions>VC++ Directories
click the little folder button (new line) then in the new line that appears put:
本文轉自:http://www.shnenglu.com/zhangyq/archive/2009/02/16/73940.html