🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem sending an structure with TIdTCPClient

#637
From: Remy Lebeau (TeamB)
Date: Wed, 12 Dec 2007 21:57
19 lines
1908 bytes
"Star" <noemail@noemail.com> wrote in message 
news:4760457a$1@newsgroups.borland.com...

> I'm using C++ Builder 2007. Not sure what version of Indy comes with that.

Indy 9 (not sure which build) and Indy 10.1.5.  So how you send your struct 
still depends on what version of Indy you configured when you installed the 
IDE.  As I mentioned, your code will look different depending on which 
version you are actually using.  Right-click on any Indy component in the 
form designer to find out.

You didn't answer my other question - what does CLIENTTOSERVERCMD contain 
inside of it.  I only ask because if you are using AnsiString or other 
dynamically-allocated fields, then you can't send your struct as-is at all, 
regardless of your Indy version.


Gambit 
Technical Details
Message-ID: <47605ff1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4760409e$1@newsgroups.borland.com> <4760433e$3@newsgroups.borland.com> <4760457a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3de5ee2b93c32b5
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: <4760409e$1@newsgroups.borland.com> <4760433e$3@newsgroups.borland.com> <4760457a$1@newsgroups.borland.com>
Subject: Re: Problem sending an structure with TIdTCPClient
Date: Wed, 12 Dec 2007 13:57:03 -0800
Lines: 21
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47605ff1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1197498353 207.178.157.90 (12 Dec 2007 14:25:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail