将Release目录删掉,Rebuild all
解决方案 »
- 在Dialog中的子dialog 中的 edit control 不响应鼠标消息
- 在字符串中,怎样提取一串数字,把该字符数字赋给一个整型变量,史整型变量的值等于该字符串数字,
- 关于status bar的文字更新,如何做到呢?使用windwos api
- 截取对话框中的密码
- ActiveX 不能调用的问题(初级问题)
- VC Debug 的怪现象!!
- 大家过来看看我这段文件读写的程序哪错了?首先是创建inner.txt文件,往里写几个数(这是正确的),然后我读出,可是读错了!在线等待
- 怎样取得管理员帐号
- [小白来了]新手基础问题,送分了!
- 请教高手:如何调试动态链接库(DLL),是否有相应的模拟环境用来调试!!
- 如何在VC中读取“快捷方式”的路径以及其他数据?
- 260分求助!如何编程修改IE的安全级别设置。260分求助!请尽量详细!
=========
The precompiled header file doens't exist. All MFC projects need to include quiet a few common header files. These header files are included in AfxStd.h. When you build the project first time, the AfxStd.cpp will be compiled and the precompiled header file (.pch) will be created. From now on, when you build or compile the project again, the precompiled header file (.pch) will be used to save compilation time.
解决方法:
============
1. Open the project in VC, go to the FileView and click on the "+" sign of Source File, right click on the StdAfx.cpp file and select "Compile StdAfx.cpp". This will compile StdAfx.cpp and create a precompiled header file for you.
2. Click on Build | Rebuild All to build your project, this command will delete all intermediate files, compile all source files and link them.
3. Modify the project setting so that precompiled header file option isdisabled. Go to Project | Settings | C/C++ tab | Precompiled Headers Category, check "Not using precompiled headers" option. 微软全球技术中心 VC技术支持
本帖子仅供CSDN的用户作为参考信息使用。其内容不具备任何法律保障。您需要考虑到并承担使用此信息可能带来的风险。具体事项可参见使用条款(http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。
为了为您创建更好的讨论环境,请参加我们的用户满意度调查(http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。