🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hair 0, Indy10 1

#140
From: Remy Lebeau (TeamB)
Date: Sat, 31 May 2008 00:18
39 lines
2363 bytes
"Gene Buckle" <geneb@grumble.deltasoft.com> wrote in message 
news:48408535@newsgroups.borland.com...

> Whatever it does, does not contribute to the proper function of the 
> component. :)

Passing NULL versus 'this' to the constructor has no effect whatsoever on 
TIdTCPClient's ability to function.  All it does is establishes who is 
responsible for freeing the memory of the TIdTCPClient instance, nothing 
more.

> ShowMessage(TCPClient->Host) creates a blank dialog box.

Please show a more complete code snippet that actually compiles.  I'm 
guessing that you are not actually accessing the correct TIdTCPClient 
instance that you think you are.

> It would help if that kind of thing were documented..

Have you actually looked at Indy's documentation yet?

    http://www.indyproject.org/Sockets/Docs/index.EN.aspx

> After leaving IOHandler unassigned, it continues to throw exceptions:
> Simulator->TCPClient->IOHandler->WriteLn("foo!");
> ...results in an access violation.

All the more reason to suspect that you are accessing a different 
TIdTCPClient instance than you initially configured.

> Any suggestions as to how I can actualy make this work?  A C++
> example would be great.

It would be better if you would show your actual code.  Then someone can 
show you how to fix it.


Gambit 
Technical Details
Message-ID: <4840999e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9339fc05f2f275c
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com>
Subject: Re: Hair 0, Indy10 1
Date: Fri, 30 May 2008 17:18:54 -0700
Lines: 41
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <4840999e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212193182 207.178.157.90 (30 May 2008 17:19:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail