🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
6 messages
6 total messages Started by Andrew Chess Wed, 28 Jun 2006 19:00
TIdTCPClient->MaxLineAction exception in BDS 2006
#2322
Author: Andrew Chess
Date: Wed, 28 Jun 2006 19:00
10 lines
1438 bytes
I am porting an application to BDS 2006 C++Builder that uses an Indy Tcp 
Client component.  When I run the app I get the exception:   "Error reading 
IdTCPClient1->MaxLineAction: Property MaxLineAction does not exist."

What can I do so get rid of this?  I have the paths set up to use 
"C:\Program Files\Borland\BDS\4.0\include\Indy9" and I believe I have the 
Indy 9 components installed.  Is it somehow compiliing as Indy 10 somehow?

Thanks,
Andrew Chess 
Re: TIdTCPClient->MaxLineAction exception in BDS 2006
#2323
Author: Remy Lebeau (TeamB)
Date: Wed, 28 Jun 2006 19:48
28 lines
1701 bytes
"Andrew Chess" <achess@securakey.com> wrote in message
news:44a2d165$1@newsgroups.borland.com...

> I am porting an application to BDS 2006 C++Builder that uses an Indy
> Tcp Client component.  When I run the app I get the exception:   "Error
> reading IdTCPClient1->MaxLineAction: Property MaxLineAction does
> not exist."

Sounds like you installed Indy 10 when you installed BDS.  There is no such
property in Indy 10's TIdTCPClient.  Like many other connection-related
properties, it was moved to the TIdIOHandler class.

> What can I do so get rid of this?

Don't try to use Indy 9 projects with Indy 10 installed, unless you are
willing to upgrade your code accordingly.

> I believe I have the Indy 9 components installed.

Apparently not.

> Is it somehow compiliing as Indy 10 somehow?

Most likely, yes.


Gambit
Re: TIdTCPClient->MaxLineAction exception in BDS 2006
#2324
Author: Andrew Chess
Date: Wed, 28 Jun 2006 20:34
36 lines
2174 bytes
The installed packages is talling me that Indy 9 is installed.  Could this 
not be correct somehow?

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44a2dd89@newsgroups.borland.com...
>
> "Andrew Chess" <achess@securakey.com> wrote in message
> news:44a2d165$1@newsgroups.borland.com...
>
>> I am porting an application to BDS 2006 C++Builder that uses an Indy
>> Tcp Client component.  When I run the app I get the exception:   "Error
>> reading IdTCPClient1->MaxLineAction: Property MaxLineAction does
>> not exist."
>
> Sounds like you installed Indy 10 when you installed BDS.  There is no 
> such
> property in Indy 10's TIdTCPClient.  Like many other connection-related
> properties, it was moved to the TIdIOHandler class.
>
>> What can I do so get rid of this?
>
> Don't try to use Indy 9 projects with Indy 10 installed, unless you are
> willing to upgrade your code accordingly.
>
>> I believe I have the Indy 9 components installed.
>
> Apparently not.
>
>> Is it somehow compiliing as Indy 10 somehow?
>
> Most likely, yes.
>
>
> Gambit
>
> 
Re: TIdTCPClient->MaxLineAction exception in BDS 2006
#2325
Author: Remy Lebeau (TeamB)
Date: Wed, 28 Jun 2006 21:18
19 lines
1696 bytes
"Andrew Chess" <achess@securakey.com> wrote in message
news:44a2e774$1@newsgroups.borland.com...

> The installed packages is talling me that Indy 9 is installed.

How are you determining that exactly?

> Could this not be correct somehow?

The BDS installer puts the Indy 10 files onto the hard drive even if the
packages are not installed into the IDE.  Double-check your paths, and make
sure the IDE is not trying to pull in the Indy 10 packages by accident.  If
you are not going to use Indy 10, then the best thing would be to remove the
files from the machine altogether to avoid conflicts.  Make sure you don't
have any older Indy 9 files lingering from BCB, either.


Gambit
Re: TIdTCPClient->MaxLineAction exception in BDS 2006
#2226
Author: Andrew Chess
Date: Wed, 28 Jun 2006 22:58
29 lines
2086 bytes
I am determining the version by the fact that the installed packages form 
says it's Indy 9.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44a2f2b0@newsgroups.borland.com...
>
> "Andrew Chess" <achess@securakey.com> wrote in message
> news:44a2e774$1@newsgroups.borland.com...
>
>> The installed packages is talling me that Indy 9 is installed.
>
> How are you determining that exactly?
>
>> Could this not be correct somehow?
>
> The BDS installer puts the Indy 10 files onto the hard drive even if the
> packages are not installed into the IDE.  Double-check your paths, and 
> make
> sure the IDE is not trying to pull in the Indy 10 packages by accident. 
> If
> you are not going to use Indy 10, then the best thing would be to remove 
> the
> files from the machine altogether to avoid conflicts.  Make sure you don't
> have any older Indy 9 files lingering from BCB, either.
>
>
> Gambit
>
> 
Re: TIdTCPClient->MaxLineAction exception in BDS 2006
#2227
Author: Remy Lebeau (TeamB)
Date: Thu, 29 Jun 2006 01:09
12 lines
1427 bytes
"Andrew Chess" <achess@securakey.com> wrote in message
news:44a30940$1@newsgroups.borland.com...

> I am determining the version by the fact that the
> installed packages form says it's Indy 9.

All that tells you is which packages are explicitally installed into the
IDE.  Not which package files are available on the IDE's search paths.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads