Article View: borland.public.cppbuilder.internet.web
Article #1100Re: IdHTTP Get exception
From: Keith
Date: Fri, 06 May 2005 01:10
Date: Fri, 06 May 2005 01:10
29 lines
1672 bytes
1672 bytes
"Remy Lebeau (TeamB)" wrote:
> "Keith" <kdopson@sbcglobal.net> wrote in message
> news:427AB1E6.60A6005E@sbcglobal.net...
>
> > IdHTTP1->CleanupInstance();
>
> Why are you calling that? NEVER NEVER NEVER call CleanupInstance()
> directly!!! The VCL documentation even says as much.
Some legacy line, no doubt... I removed it.
> > RichEdit1->Text=IdHTTP1->Get("http://classifieds.excite.com/index.html");
>
> Works fine for me. Which version of Indy are you actually using?
Indy 9.00.11 (2003)
Curiously, the Get() does return the URL's html content, and it appears to be
complete.
Also, the after the exception dialog box is dismissed, the debug cursor is
still pointing to the Get() line.
Example project is on the attachments group.
keith
Technical Details
Message-ID:
<427AC3FE.C00C80D0@sbcglobal.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<427AB1E6.60A6005E@sbcglobal.net> <427ab842$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b8c33a2643ef426e X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <427AC3FE.C00C80D0@sbcglobal.net> Date: Thu, 05 May 2005 20:10:22 -0500 From: Keith <kdopson@sbcglobal.net> X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: IdHTTP Get exception References: <427AB1E6.60A6005E@sbcglobal.net> <427ab842$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.71.227.85 X-Trace: newsgroups.borland.com 1115341597 65.71.227.85 (5 May 2005 18:06:37 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail