开发者

Reading response data from TCppWebBrowser in Borland C++Builder

How to I access the data returned on a web page using the TCppWebBrowser component in Borland C++Builder 6.0?

I have succeeded in posting data using the sample at: http://edn.embarcader开发者_如何学运维o.com/article/27519


Are you looking for something like this:

http://codeback.net/how-to-get-a-webpages-html-source-by-using-twebbrowser-component-in-delphi

The C++ version shouldn't be that different.


If you want to read response headers, there is no trivial way to do it. Check http://www.codeproject.com/KB/atl/vbmhwb.aspx, if you have Visual C++ you cam compile the code into an ActiveX and use it in BCB.


One of my colleagues has found an answer for me at: cboard.cprogramming.com/cplusplus-programming/… This works very well.


Have a look at this article. There also has a demo, you could download the project code directly and run it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜