IDispatch *pDisp = NULL;
HRESULT hr = pWebBrowser->get_Document(&pDisp);
if(SUCCEEDED (hr))
{
IHTMLDocument2 *pHTML = NULL;
if(SUCCEEDED(pDisp->QueryInterface(IID_IHTMLDocument2,(void **)&pHTML)))
{
通过Document对象的get_text得到源码
HRESULT hr = pWebBrowser->get_Document(&pDisp);
if(SUCCEEDED (hr))
{
IHTMLDocument2 *pHTML = NULL;
if(SUCCEEDED(pDisp->QueryInterface(IID_IHTMLDocument2,(void **)&pHTML)))
{
通过Document对象的get_text得到源码
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货