以下是对IE进行编程的一个范例, it's just a poc.

  实际使用下要注意测试对IE6/7/8/9等几个不同版本的兼容性

 

   #include  < stdio.h >
[IE编程]枚举网页元素
#include  < tchar.h >
[IE编程]枚举网页元素
#include < iostream >
[IE编程]枚举网页元素
#include < exdisp.h >
[IE编程]枚举网页元素
#include  < atlbase.h >   
[IE编程]枚举网页元素
#include  < atlcom.h >
[IE编程]枚举网页元素
#include < mshtml.h >
[IE编程]枚举网页元素
[IE编程]枚举网页元素
using   namespace  std;
[IE编程]枚举网页元素
[IE编程]枚举网页元素
void  EnumIE(  void  );
[IE编程]枚举网页元素
void  EnumFrame( IHTMLDocument2  *  pIHTMLDocument2 ); 
[IE编程]枚举网页元素
void  EnumForm ( IHTMLDocument2  *  pIHTMLDocument2 ); 
[IE编程]枚举网页元素
[IE编程]枚举网页元素
[IE编程]枚举网页元素
[IE编程]枚举网页元素
int  _tmain( int  argc, _TCHAR *  argv[])
}

 

 

 

相关文章:

  • 2022-03-09
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2021-09-24
  • 2021-06-16
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
相关资源
相似解决方案