由于项目使用Basic Excel作为excel的处理单元,添加之后编译出现Error 2 error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source? D:\soft\BasicExcel_src\BasicExcel.cpp 5894
解决方法:
1、在工程右键,Properties;
2、打开Configuration Properties;
3、打开C/C++ Precompiled Headers;
4、Precompiled Header设置为Not Using Precompiled Headers;
谨记之