我使用VC6编写基于ATL的BHO,发现很多例子中使用了:
hr=pCPC->FindConnectionPoint(DIID_HTMLElementEvents2,&pCP);
其中,DIID_HTMLElementEvents2不知道在哪个头文件中定义.
是不是要下载什么包或者SDK,如果是最好能给出下载链接,谢谢!
hr=pCPC->FindConnectionPoint(DIID_HTMLElementEvents2,&pCP);
其中,DIID_HTMLElementEvents2不知道在哪个头文件中定义.
是不是要下载什么包或者SDK,如果是最好能给出下载链接,谢谢!
#include <Mshtmdid.h>
发现仍然编译不通,
error LNK2001:unresolved external symbol _DIID_HTMLElementEvents2#include <mshtml.h>
#include <Mshtmdid.h>
上面两个头文件已经包括,不知道原因,请进来的兄弟指教。
http://community.csdn.net/Expert/topic/4835/4835771.xml?temp=.8225519
http://community.csdn.net/Expert/topic/4855/4855754.xml?temp=.1064264恳请那个兄弟能否给出比较明确答案。不是我不愿意找资料,而是相关资料确实太少了。