some sample use TCppWebBrowser some problem with GetHtmlSourceFromWebBrowser |
答題得分者是:Stallion
|
javanull
一般會員 發表:18 回覆:10 積分:5 註冊:2007-09-04 發送簡訊給我 |
請問一下我在網路上找到一個 sample code 是用 TCppWebBrowser 去讀 GetHtmlSource()
但這 source has sample problem which is [Linker Error] Unresolved external 'TForm1::GetHtmlSourceFromWebBrowser(Shdocvw_tlb::TCppWebBrowser *, Classes::TMemoryStream *)' referenced from C:\DOCUMENTS AND SETTINGS\ROGER\桌面\TEST\UNIT1.OBJ 請個為幫忙一下
------
roger |
harpist
資深會員 發表:3 回覆:251 積分:430 註冊:2002-10-03 發送簡訊給我 |
Unit1.h
[code cpp] void GetHtmlSourceFromWebBrowser(TCppWebBrowser *WebBrowser,TMemoryStream* pMemoryStream) [/code] 改成 [code cpp] void TForm1::GetHtmlSourceFromWebBrowser(TCppWebBrowser *WebBrowser,TMemoryStream* pMemoryStream) [/code]
------
~§~迷時師渡,悟了自渡~§~ |
javanull
一般會員 發表:18 回覆:10 積分:5 註冊:2007-09-04 發送簡訊給我 |
------
roger |
Stallion
版主 發表:52 回覆:1600 積分:1995 註冊:2004-09-15 發送簡訊給我 |
You sure havn't searched this site first !
Please search this site with keyword "IHTMLDocument" which is a class name, and notice that there are also several member functions belong to that class, such as InnerHTML, OuterHTML, InnerText, OuterText,....just check it out, and you'll know how. good luck. ===================引 用 javanull 文 章=================== Hi all 請問一下當我使用 CppWebBrowser3->Navigate(L"www.yahoo.com"); 是可以取得url 的畫面但是要怎樣才可以 得到 url 的 html tag ? |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |