Discussion:
Indy 10
(too old to reply)
Chris F
2008-07-22 22:35:13 UTC
Permalink
Hi

I've recently upgraded to RadStudio 2007 from BCB6 which required a few
small changes to my code where Indy 9 was previously used for sending emails
and downloading a file. Everything seems to work fine but I've read some
posts that state the Indy 10 as it is provided with CB2007 doesn't work.
Should I update? What kind of job is it to update?

Cheers

Chris F
Remy Lebeau (TeamB)
2008-07-23 00:50:32 UTC
Permalink
Everything seems to work fine but I've read some posts that state
the Indy 10 as it is provided with CB2007 doesn't work.
Define "doesn't work"?

It has been stated many times that the copy of Indy 10 that shipped with
CB2007 is an old version. That is a different issue.


Gambit
Chris F
2008-07-23 14:23:06 UTC
Permalink
Post by Remy Lebeau (TeamB)
Define "doesn't work"?
Well that's the point, I have read other posts where these comments are made
(http://groups.google.co.uk/group/borland.public.cppbuilder.non-technical/browse_thread/thread/930b5fa399286993/ae68cd189b3c02ab)
and I really don't understand what is meant either as it appears to work for
me.
Post by Remy Lebeau (TeamB)
It has been stated many times that the copy of Indy 10 that shipped with
CB2007 is an old version. That is a different issue.
So, should I update if my code works now? I know the easy answer is yes,
but historically I've had such a hard time installing components that I
don't want to unless it is absolutely essential. My code simply sends
emails to an existing smtp server and downloads a help file from my website
using TIdHTTP.

Best regards

Chris F
Remy Lebeau (TeamB)
2008-07-23 17:22:47 UTC
Permalink
Post by Chris F
Well that's the point, I have read other posts where these comments are made
(http://groups.google.co.uk/group/borland.public.cppbuilder.non-technical/browse_thread/thread/930b5fa399286993/ae68cd189b3c02ab)
and I really don't understand what is meant either as it appears to work
for me.
Such comments were referring to an older version of Indy 10 that hadn't
really been C++-enabled yet at the time CB2007 was released. There were a
lot of problems in different areas of Indy regarding Delphi-C++
compatibility. Most of those issues have been resolved in later Indy
versions, though a couple still linger on.


Gambit
Dennis Cote
2008-07-23 14:37:52 UTC
Permalink
Post by Chris F
I've recently upgraded to RadStudio 2007 from BCB6 which required a few
small changes to my code where Indy 9 was previously used for sending emails
and downloading a file. Everything seems to work fine but I've read some
posts that state the Indy 10 as it is provided with CB2007 doesn't work.
Should I update? What kind of job is it to update?
Is your application working using the version of Indy 10 supplied with
CRS2007? If so, you are probably OK.

That version, while it may work fine in Delphi, often leads to
compilation errors in C++, so much so that it is largely unusable. If
you run into any of these you should update to the current development
snapshot which seems to have fixed most of these issues.

Doing the upgrade can be simplified by using some batch files that have
been posted in the past. Basically you need to completely remove the
older Indy installation (the batch file moves everything to a backup
folder), and then rebuild a newer version of Indy from the SVN source.
There are instructions on how to get the latest SVN source using the
free TortoiseSVN client. Note, the batch files must be edited slightly
to match your installation directories.

If you need them I can post the zip file with the batch files and
instructions in the attachments group.

HTH
Dennis Cote
Chris F
2008-07-23 14:58:55 UTC
Permalink
Post by Dennis Cote
Doing the upgrade can be simplified by using some batch files that have
been posted in the past. Basically you need to completely remove the older
Indy installation (the batch file moves everything to a backup folder),
and then rebuild a newer version of Indy from the SVN source. There are
instructions on how to get the latest SVN source using the free
TortoiseSVN client. Note, the batch files must be edited slightly to match
your installation directories.
If you need them I can post the zip file with the batch files and
instructions in the attachments group.
Hi Dennis

Sounds like it might not be too painful to update. If you could post the
batch files that would be a big help.

Thanks

Chris F
Dennis Cote
2008-07-23 16:21:48 UTC
Permalink
Post by Chris F
Sounds like it might not be too painful to update. If you could post the
batch files that would be a big help.
Done. See b.p.attachments

Dennis Cote
Chris F
2008-07-23 23:07:43 UTC
Permalink
Thanks for that.

Loading...