一个初学者的疑问,关于COM和MS Agent

wftree 2003-04-09 10:17:39
我现在程序中使用msagent,我该怎么开始?
从microsoft下了头文件agtctl.h,AgtCtl_i.c,AgtErr.h,agtsvr.h,AgtSvr_i.c
加入工程中,什么还没有做,但是我一编译却出现了两个编译错误
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\myagent\AgtCtl_i.c(117): fatal error C1010: unexpected end of file while looking for precompiled header directive

c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\myagent\AgtSvr_i.c(120): fatal error C1010: unexpected end of file while looking for precompiled header directive

那位大虾可以讲讲是怎么回事么?
...全文
30 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
我也不知道,学习中...
windoze 2003-04-10
  • 打赏
  • 举报
回复
在那两个.c文件开头添加一句#include "stdafx.h",或者在工程设置中修改这两个文件的预编译头文件设置。

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧