Article View: borland.public.cppbuilder.internet.socket
Article #202Re: Hair 0, Indy10 1
From: Gene Buckle
Date: Wed, 04 Jun 2008 01:40
Date: Wed, 04 Jun 2008 01:40
50 lines
3294 bytes
3294 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote: > > "Gene Buckle" <geneb@grumble.deltasoft.com> wrote in message > news:4845b5dc@newsgroups.borland.com... > >> It's declared in the header file for classSimulator. Like I >> mentioned earlier, TCPClient is declared: >> >> TIdTCPClient *TCPClient; > > But, you still did not indicate where your ShowMessage() was being called > from. Again, the ONLY way ShowMessage(TCPClient->Host) could display an > empty dialog is if you had not actually assigned a non-empty string to the > Host property beforehand, indicating that you either did not initialize your > TIdTCPClient before calling SowMessage(), or that you called it using a > secondary TIdTCPClient instance that you did not configure. I'm trying to > get you to provide a code snippet that reproduces that original problem > again. > It doesn't matter. The control was being initialized before the ShowMessage(). I single stepped through the method that assigned Host and Port. You know what I saw when I hovered my mouse cursor on the ->Host and ->Port properties? NULL. I gave you an ENTIRE class that illustrated the problem, which by the way is the ONLY place that TIdTCPClient is referenced anywhere in my code. You're so busy convincing yourself that I'm some stumbling idiot that can hardly tie my own shoes let alone write software that you're no longer looking at what is going on - if you had, you certainly wouldn't have chastised me for not initializing a variable before using it when I was clearly doing so in the constructor method of the class. You're a brilliant guy Gambit, but you need to try to help people without the air of superiority you exude. :) In my research to see if I could get anything out of the control, I tried polling the Version property to see if that had anything in it. Here's where it gets weird - the version was 9.0.<something>! That would go a long way toward explaining what is going on. Any tips on how to get rid of an Indy9 that I never installed? :) thanks. (really!) g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind.
Technical Details
Message-ID:
<4845f293@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com> <48442d6c$1@newsgroups.borland.com> <4845851e@newsgroups.borland.com> <48459486$1@newsgroups.borland.com> <4845a18d@newsgroups.borland.com> <4845abc7$1@newsgroups.borland.com> <4845b5dc@newsgroups.borland.com> <4845e571$1@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
Message-ID: <4845f293@newsgroups.borland.com>
From: Gene Buckle <geneb@grumble.deltasoft.com>
Subject: Re: Hair 0, Indy10 1
Newsgroups: borland.public.cppbuilder.internet.socket
References: <48406d41@newsgroups.borland.com> <48407d4c$1@newsgroups.borland.com> <48408535@newsgroups.borland.com> <48442d6c$1@newsgroups.borland.com> <4845851e@newsgroups.borland.com> <48459486$1@newsgroups.borland.com> <4845a18d@newsgroups.borland.com> <4845abc7$1@newsgroups.borland.com> <4845b5dc@newsgroups.borland.com> <4845e571$1@newsgroups.borland.com>
User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (Linux/2.6.23.15-80.fc7 (i686))
NNTP-Posting-Host: 199.254.199.46
Date: 3 Jun 2008 18:40:35 -0700
X-Trace: newsgroups.borland.com 1212543635 199.254.199.46 (3 Jun 2008 18:40:35 -0700)
Lines: 50
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail