1.IntelliSense: #error 指令: Please use the /MD switch for _AFXDLL builds
解决:
修改设置:工程(Project)-> 属性(Properties)-> 配置属性(Configuration Properties)-> c/c++-> 代码生成(Code Generation)->运行库(runtime library)->多线程调试DLL(/MD)
2.vs2010 .rc opened in another editor
解决:把资源文件窗口的.rc关闭
3.在工作区窗口的“Resource View”选项卡中,打不开工程资源
还弹出下列对话框:
rcdll.dll
Cannot find the resource compiler DLL.
Please make sure the path is correct.
解决:rcdll.dll文件,它位于“C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin”或“C:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\bin”目录下,把它拷贝出来,放到“D:\Program Files\Microsoft Visual Studio 10.0\VC\bin”目录下,再次运行vs。