Article View: borland.public.cppbuilder.internet.web
Article #240Re: Converting HTML page from TCppWebBrowser into Image
From: Remy Lebeau (TeamB)
Date: Tue, 06 Feb 2007 02:39
Date: Tue, 06 Feb 2007 02:39
24 lines
1632 bytes
1632 bytes
"Trevor Keegan" <tkeegan@ealink.com> wrote in message
news:45c7e3f6@newsgroups.borland.com...
> The problem is I do not know what variables like amp and gt should
be.
They are not variables. They are HTML instructions. '&' is HTML
code for the '&' character, and '>' is the code for the '>'
character. So the code is actually more like the following instead:
IHTMLDocument2 * pDoc = ...;
IHTMLELEMENT * pBodyElement = NULL;
HRESULT hr = pDoc->get_body(&pBodyElement);
if( SUCCEED(hr) )
{
IHTMLElement * pBody = NULL;
hr = pBodyElem->QueryInterface( IID_IHTMLBodyElement,
(void**)&bBody );
...
}
Gambit
Technical Details
Message-ID:
<45c7ea27$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45c7e3f6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4384ebb9896c72c9 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <45c7e3f6@newsgroups.borland.com> Subject: Re: Converting HTML page from TCppWebBrowser into Image Date: Mon, 5 Feb 2007 18:39:21 -0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45c7ea27$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170729511 75.83.34.171 (5 Feb 2007 18:38:31 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail