🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1166

Re: CppWebBrowser

#1166
From: toudidel
Date: Wed, 08 Jun 2005 12:25
18 lines
1415 bytes
I have:

TMemoryStream* mstm=new TMemoryStream();
IdHTTP->Get("http://www.dot.com/",mstm);
wb->Navigate((WideString)"about:blank");


and OnDocumentComplete:

IPersistStreamInit* pPersistStreamInit = NULL;
TStreamAdapter *IStr=new TStreamAdapter(mstm,soReference);
wb->Document->QueryInterface(IID_IPersistStreamInit,(void**)&pPersistStreamInit);
pPersistStreamInit->Load(*IStr);
pPersistStreamInit->Release();
pPersistStreamInit=NULL;


unfortunately doesn't work 
Technical Details
Message-ID: <42a6e393$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a0be46@newsgroups.borland.com> <42a0c350$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,a4609a45578860c9
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "toudidel" <toudidel@oDWA.pl>
Newsgroups: borland.public.cppbuilder.internet.web
References: <42a0be46@newsgroups.borland.com> <42a0c350$1@newsgroups.borland.com>
Subject: Re: CppWebBrowser
Date: Wed, 8 Jun 2005 14:25:07 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.17.137.50
Message-ID: <42a6e393$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118233491 83.17.137.50 (8 Jun 2005 05:24:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail