用EVC新建了个DLL动态链接库工程,然后新建了个.CPP和.H文件,加到工程中,就提示unexpected end of file while looking for precompiled header directive,文件没有错误啊,然后自己就整了个空的CPP文件,还是报错,郁闷----查了查资料,在自己新建的文件中加入头文件#include "stdafx.h" 就可以解决问题了,问题虽小,记下了,嘿嘿
/*******************************************************************
作者:宇帆 cfanlwn
时间:2009-12-27 14:11:04
本文介绍了一种在使用EVC创建DLL动态链接库时遇到的错误:unexpected end of file while looking for precompiled header directive。通过在新建的文件中包含头文件 #includestdafx.h 解决了该问题。
1004

被折叠的 条评论
为什么被折叠?



