🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdHTTP component and BCB2006

#2255
From: masi
Date: Tue, 11 Jul 2006 12:37
24 lines
1434 bytes
I have a trivial application using an TIdHTTP component working fine under 
BCB6:


void __fastcall TForm1::Button1Click(TObject *Sender)
{
  String response = IdHTTP1->Get(Edit1->Text);
  Memo1->Clear();
  Memo1->Lines->Add(response);
}

when I type an url into Edit1, and press Button1, I can see the server's 
response into Memo1 .


Now, if I try to open my project with BCB2006, it first tells me that 
IdHTTP1->Request.ProxyPort does not exist.
It compiles and then at start it gives an EAccessViolation error.

What's wrong?

thanks

masi urbano
Technical Details
Message-ID: <44b39b74$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,58cbb7a88b1fb79d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "masi" <masiurb@tin.it>
From: "masi" <masiurb@tin.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHTTP component and BCB2006
Date: Tue, 11 Jul 2006 14:37:04 +0200
Lines: 27
Organization: urbano
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 84.220.86.69
Message-ID: <44b39b74$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152621428 84.220.86.69 (11 Jul 2006 05:37:08 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail