阅读:1343回复:3
[求助]将ds给出的exe读写函数加入到MFC执行代码中
我通过ds生成了和我的设备配套的sys和简单的exe,我想把exe中读写和控制函数加入到一个MFC应用程序中,直接加入总是报错:
fatal error C1010: unexpected end of file while looking for precompiled header directive Test_usbofestar.cpp 不知是何原因?各位高手还有什么高招,教一下小弟吧。 |
|
沙发#
发布于:2004-08-04 20:37
自己再顶一下
|
|
板凳#
发布于:2004-08-05 16:11
这是一个 link 错误。
原因是 mfc的代码必须 #include <stdafx.h> 否则,就编译不过去。 你可以把错误代码 输入到 msdn中,查看为什么 |
|
地板#
发布于:2004-09-04 17:00
在[Project][Setting]里面把那个文件的Precompile header去掉
|
|