原文:http://blog.csdn.net/qmagic/article/details/2718768


问题背景:

使用 vc6 企业版 打开网络上下载的代码,但是出现如此问题。

fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this compiler


解决方法:

出现这个问题,把工程编译选项中的预编译去掉就可以了,操作步骤:首先全部重编译一下工程,如还是不行则试一试将工程设置中C/C++中 precompiled   header中选中automatic   use   of   precompiled   headers,并在相应through   header中输入stdafx.h。

    另外,把debug目录下的文件删除,然后重新编译也是一种解决方法