 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Arrakistor Guest
|
Posted: Tue Sep 12, 2006 8:11 am Post subject: TidTCPClient error |
|
|
I Loaded up someone elses project, and tried to build it. Errors reported:
[Pascal Error] CircuitStatus.dpr(131): E2003 Undeclared identifier:
'WriteLn'
[Pascal Error] CircuitStatus.dpr(134): E2003 Undeclared identifier: 'ReadLn'
[Pascal Error] CircuitStatus.dpr(135): E2003 Undeclared identifier:
'ReadLnTimedOut'
[Pascal Error] CircuitStatus.dpr(160): E2003 Undeclared identifier:
'WriteLn'
[Pascal Error] CircuitStatus.dpr(164): E2003 Undeclared identifier: 'ReadLn'
[Pascal Error] CircuitStatus.dpr(165): E2003 Undeclared identifier:
'ReadLnTimedOut'
[Pascal Error] CircuitStatus.dpr(202): E2003 Undeclared identifier:
'WriteLn'
[Pascal Error] CircuitStatus.dpr(205): E2003 Undeclared identifier: 'ReadLn'
[Pascal Error] CircuitStatus.dpr(206): E2003 Undeclared identifier:
'ReadLnTimedOut'
[Pascal Error] CircuitStatus.dpr(226): E2003 Undeclared identifier:
'DisconnectSocket'
The parser complains that TIdTCPClient does not contain a member named
ReadLn, WriteLn, etc.
Any ideas on what is going on that there is no FTCPClient.ReadLn etc?
Should I be using a different version of Indy?
private FTCPClient: TIdTCPClient; |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Sep 12, 2006 2:32 pm Post subject: Re: TidTCPClient error |
|
|
"Arrakistor" <arrakistor (AT) gmail (DOT) com> wrote in message
news:450633a7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I Loaded up someone elses project, and tried to build it.
Errors reported:
|
Which version of Indy are you using? Which version of Indy does the project
use? What does the actual code look like that is failing? You obviously
have a version conflict here. My guess is that the project is using Indy 9,
but you have Indy 10 installed instead.
| Quote: | The parser complains that TIdTCPClient does not contain a member
named ReadLn, WriteLn, etc.
|
If you have Indy 10 installed, then the errors are correct. Those methods
existed in the TIdTCPConnection class in Indy 9, but were moved to the
TIdIOHandler class in Indy 10.
| Quote: | Should I be using a different version of Indy?
|
Yes. You will have to either upgrade the project code to a newer vesion, or
downgrade your installed version to an older one.
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|