🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdHTTP error when instanstiate at runtime

#1674
From: Bob Gonder
Date: Sat, 23 Dec 2006 19:44
25 lines
1829 bytes
sam wrote:

>I am using Turbo C++ free version and need to use the component IdHTTP from 
>Indy 9.
>
>[C++ Erreur] IdGlobal.hpp(416): E2316 'TMethod' n'est pas un membre de 
>'Sysutils'

You've done something wrong.
TMethod is in namespace System .... System::TMethod
#include	<vcl\system.hpp>
#include	<indy9\idglobal.hpp>

Indy9\IdGlobal.hpp is less than 400 lines long, so you are probably
not using the correct file.

You are likely using an older version of Indy, one that predates BDS,
or was not tweaked for BDS.
Apparently, several things were moved from Sysutils:: to System:: in
the VCL during the years between BCB5/6 and BDS2006.

If you are pointing to the correct folder:
C:\Program Files\Borland\BDS\4.0\Include\Indy9\IdGlobal.hpp
Then you might want to re-install Indy9 from the BDS distribution
files.
Technical Details
Message-ID: <3vvqo21dvjsonlql0qul8jl3bet6csm0lr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: IdHTTP error when  instanstiate at runtime
Date: Sat, 23 Dec 2006 11:44:59 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <3vvqo21dvjsonlql0qul8jl3bet6csm0lr@4ax.com>
References: <458d48f2@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.0.35.145
X-Trace: newsgroups.borland.com 1166903079 71.0.35.145 (23 Dec 2006 11:44:39 -0800)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail