English 中文(简体)
如何解决C1010的错误,而不去掉预谋的头盔?
原标题:How to fix a C1010 error without turning off precompiled headers?
  • 时间:2009-10-14 17:01:10
  •  标签:

So, I have to use precompiled headers in my VS 2005 project. Now I have a shared source file that does not have a #include "stdafx.h"... How can I include the shared source file in my project without adding stdafx.h to the top of the source file and without turning off precompiled headers??

最佳回答

档案财产——>C/C++ - 设计;

问题回答

在C/C++中查看该档案的特性(图象) - 预设标题部分。

将“Create/Use Precompiled Header”改为“Not Using Precompiled Headers”。

注——我刚刚在2003年5月3日核对了这一情况——“might”方案已在2005年或2008年5月5日启动,但我对此表示怀疑。 即便如此,也很难找到。





相关问题
热门标签