🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TTcpClient->Active

#562
From: Remy Lebeau (TeamB)
Date: Thu, 24 Jan 2008 17:32
19 lines
1638 bytes
"Peter Offenwanger" <unigeek@gmail.com> wrote in message 
news:4797e538$1@newsgroups.borland.com...

> void __fastcall TISDMainForm::Button1Click(TObject *Sender)
> {
> bool SetSocketActive;
>
>   SetSocketActive = true;
> MyTcpClient->Active = SetSocketActive;
> }

Do you have SetSocketActive defined anywhere else, by chance?  Maybe as a 
function that returns a 'char'?  Or maybe there is a macro that is 
redefining 'true' to be a 'char' instead of a 'bool'?  Do you have the same 
error if you change the variable's name, or remove the variable altogether?


Gambit 
Technical Details
Message-ID: <4798cb64$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.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: <4797c6c0@newsgroups.borland.com> <4797cb02$1@newsgroups.borland.com> <4797e538$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6a0dfdfd503c5fb7
X-Google-Attributes: gid11508e,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: <4797c6c0@newsgroups.borland.com> <4797cb02$1@newsgroups.borland.com> <4797e538$1@newsgroups.borland.com>
Subject: Re: TTcpClient->Active
Date: Thu, 24 Jan 2008 09:32:04 -0800
Lines: 21
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <4798cb64$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201195876 207.178.157.90 (24 Jan 2008 09:31:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.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