VS2008常见问题解决方法

常见问题:

1、Error spawning 'cmd.exe'

2、#import <msxml4.dll>时Cannot Open “msxml4.dll":no such file of directory

解决方案:

Options --> Projects and Solutions -->VC++ Directories 下的Executable files下添加

$(SystemRoot)\System32
$(SystemRoot)
$(SystemRoot)\System32\wbem

上述解决方案完全能解决此类问题

 

3、fatal error LNK1000: Internal error during IncrBuildImage

解决方案:

一、下微软的补丁:KB948127补丁来解决, http://code.msdn.microsoft.com/KB948127。貌似安装了也不起作用
二、如果下载的补丁没安装成功或下载失败,可以用下面的方法手工来改工程设置
项目(Project)->属性(Property)->链接器(Linker)->常规(General) 下面的“启用增量链接(Enable Incremental Linking)”,将“是(/INCREMENTAL)”改为“否(/INCREMENTAL:NO)”。不过这又引入了另外一个警 告:FormatCom.obj : warning LNK4075: 忽略“/EDITANDCONTINUE”(由于“/INCREMENTAL:NO”规范)

选择项目,属性(Property pages)->配置属性(Configuration Properties) ->C/C++,修改“调试信息格式(Debug Information Format)”为“程序数据库(Program Database(/Zi))”即可

你可能感兴趣的:(VS2008常见问题解决方法)