🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1668

Re: IdHTTP error when instanstiate at runtime

#1668
From: Hans Galema
Date: Sat, 23 Dec 2006 16:15
21 lines
1398 bytes
Hans Galema wrote:

> Run.

Well you could instantiate one in the folowing way:

private:	// User declarations
	TIdHTTP *IdHTTP;

__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
   IdHTTP = new TIdHTTP ( this );
}

void __fastcall TForm1::FormClose(TObject *Sender, TCloseAction &Action)
{
   delete IdHTTP;
}

Hans.
Technical Details
Message-ID: <458d56b5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <458d48f2@newsgroups.borland.com> <458d4f74$1@newsgroups.borland.com> <458d510e@newsgroups.borland.com> <458d561c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9cabd718379db140
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 23 Dec 2006 17:15:53 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: IdHTTP error when  instanstiate at runtime
References: <458d48f2@newsgroups.borland.com> <458d4f74$1@newsgroups.borland.com> <458d510e@newsgroups.borland.com> <458d561c@newsgroups.borland.com>
In-Reply-To: <458d561c@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <458d56b5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166890677 145.98.201.248 (23 Dec 2006 08:17:57 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail