🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdHTTP error when instanstiate at runtime

#1665
From: Hans Galema
Date: Sat, 23 Dec 2006 15:44
32 lines
1895 bytes
sam wrote:

> I have add the \Indy9\IdHTPP.pas to my project 

Ok.

 > and drop the reference of the
> .h file as well in my source.

Heh?? What did you do there exactly?

In the .h file of the TForm that uses the component you should have:

#include <IdHTTP.hpp>

And under Project | Options... | C++Compiler(bcc32) | Paths and Defines
| Include Searchpath
$(BDS)\source\Win32\Indy9

> When I build the project I get this messages in french:
> 
> [C++ Erreur] IdGlobal.hpp(416): E2316 'TMethod' n'est pas un membre de 
> 'Sysutils'

If you open IdGlopal.hpp then what is its full path? (You can find out
by placing the mouse above the according tab of the editor). You will
get a Hint then.

I remember such errors when I first tried to use the component in
this way. At the moment I do not know how I solved that.

Hans.
Technical Details
Message-ID: <458d4f74$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!ecngs!feeder.ecngs.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <458d48f2@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 16:44:57 +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>
In-Reply-To: <458d48f2@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: <458d4f74$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1166888820 145.98.201.248 (23 Dec 2006 07:47:00 -0800)
Lines: 32
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!ecngs!feeder.ecngs.de!newsfeed.freenet.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail