CComPtr未定义;atlcom.h requires atlbase.h to be includ
刚开始研究directshow;
仿照directsh例子amcap写的;
代码贴上去后出现很多CComPtr CComQIPtr未定义;
增加头文件:
extern CComModule _Module;
#include <atlcom.h>
#include <atlhost.h>
#include <atlctl.h>
后,出现新的问题:
atlcom.h requires atlbase.h to be included first
等VC98库里文件的问题;
路径设置的没问题,自己不确定问题在哪里,
希望高手指点下!
[解决办法]
调整一下include的次序
[解决办法]
extern CComModule _Module;
#include <atlhost.h>
#include <atlctl.h>
#include <atlcom.h>