Article View: borland.public.cppbuilder.internet.web
Article #841Re: Intercept TCppWebBrowser
From: Metro
Date: Fri, 30 Dec 2005 09:41
Date: Fri, 30 Dec 2005 09:41
29 lines
2224 bytes
2224 bytes
Would this allow me to change the html in the stream as it comes in ? this is why i was looking to use the memo control so i can see the stream and record it so i can modify the stream as required once the memo has saved the recorded stream.. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:43b4560a@newsgroups.borland.com... > > "Metro" <metro9999@lycos.co.uk.nospam> wrote in message > news:43b43c62@newsgroups.borland.com... > >> Would i be correct in thinking loading the html using clientsocket >> into a memo and loading the memo into tccpwebbrowser ? > > You do not need to use a Memo. Use a TMemoryStream instead. You can use > TStreamAdapter to pass the TMemoryStream to the TCppWebBrowser's > IPersistStreamInit interface. Search the newsgroup archives at > http://www.deja.com for examples. > > And I would not suggest using TClientSocket. HTTP is a complex protocol > to > implement from scratch. You should use an actual HTTP component, such as > the one found in Indy, ICS, Synapse, or any number of other third-party > implementation. Or use the WinInet or WinHTTP API from Microsoft. > > > Gambit > >
Technical Details
Message-ID:
<43b521a2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43b41563@newsgroups.borland.com> <43b432de$1@newsgroups.borland.com> <43b43c62@newsgroups.borland.com> <43b4560a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4f3d3993c9d99eb X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Metro" <metro9999@lycos.co.uk.nospam> Newsgroups: borland.public.cppbuilder.internet.web References: <43b41563@newsgroups.borland.com> <43b432de$1@newsgroups.borland.com> <43b43c62@newsgroups.borland.com> <43b4560a@newsgroups.borland.com> Subject: Re: Intercept TCppWebBrowser Date: Fri, 30 Dec 2005 09:41:26 -0000 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.33.111.93 Message-ID: <43b521a2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135944098 82.33.111.93 (30 Dec 2005 04:01:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail