Article View: borland.public.cppbuilder.internet.web
Article #284Re: TCPPWebBrowser causing an AV
From: Remy Lebeau (TeamB)
Date: Tue, 20 Feb 2007 18:52
Date: Tue, 20 Feb 2007 18:52
21 lines
1463 bytes
1463 bytes
"Tom" <tom@nospam.net> wrote in message
news:45d852e5$1@newsgroups.borland.com...
> while(this->CppWebBrowser1->Busy)
> Application->ProcessMessages();
You need to use the ReadyState property instead of the Busy property
while(this->CppWebBrowser1->ReadyState != READYSTATE_COMPLETE)
Application->ProcessMessages();
A safer and better approach would be to use the OnNavigateComplete
event instead.
> TStreamAdapter *IStr=new TStreamAdapter(mstm,soReference);
You are not freeing the TStreamAdapter anywhere.
Gambit
Technical Details
Message-ID:
<45db43cc@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45d852e5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2dcae0388f1713b 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: <45d852e5$1@newsgroups.borland.com> Subject: Re: TCPPWebBrowser causing an AV Date: Tue, 20 Feb 2007 10:52:19 -0800 Lines: 23 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: <45db43cc@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171997644 75.83.34.171 (20 Feb 2007 10:54:04 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail