🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdHTTP error when instanstiate at runtime

#1666
From: Hans Galema
Date: Sat, 23 Dec 2006 16:13
35 lines
1901 bytes
sam wrote:

sam please trim quotes.

> C:\Program Files\Borland\BDS\4.0\source\Win32\Indy9\IdGlopal.hpp

That looks like a stange path to me for Turbo C++ Explorer.

4.0 ?

How did you add that file?

This is how I do it. I just tested again. Please try the following:

Start a new VCL application and save the project in its own
directory (which you created before).

Now we are going to add IdHTTP.pas in the following way:
Write down the following -incorrect- include in Unit1.h:

#include <IdHTTP>

Now rightclick on that filename and choose 'Open file at cursor'
You will see a file named IdHTTP

Now choose Project | Add to project
And voila you will see that IdHTTP.pas from the right Indy9 is ready
to be added. Add it.

Change the line to the correct include:
#include <IdHTTP.hpp>

Run.

Hans.
Technical Details
Message-ID: <458d561c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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
References: <458d48f2@newsgroups.borland.com> <458d4f74$1@newsgroups.borland.com> <458d510e@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:13:20 +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>
In-Reply-To: <458d510e@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: <458d561c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166890524 145.98.201.248 (23 Dec 2006 08:15:24 -0800)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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