关于VC6编译器的问题

来源:百度知道 编辑:UC知道 时间:2024/09/22 13:38:41
fatal error C1853: 'Debug/ttt.pch' is not a precompiled header file created with this compiler.
这是VC6给出的错误警告。
但这个程序可以在.NET里运行的很好,这是为什么啊
我要怎么设置我的VC6啊
双击这个错误,光标都在#include "stdafx.h"这里
好像只要是含有这个头文件的,都会报错啊
把我折腾死了啊
谢谢大家啊

预编译头文件的问题,解决办法:
打开Project菜单的Settings,选择"C/C++"选项卡,其中Category下拉框选择Precomplied Headers,然后选择第一个,即Not using precompiled headers

把Debug文件夹删掉,重新编译!