Converting Delphi 2007 Indy 10.2.3 to Delphi 2009 Indy 10.5.5 [Edit]
I am currently attempting to port over a Delphi 2007 project that uses Indy 10.2.3 (very successfully) to Delphi 2009 and Indy 10.5.5 (I just got the latest development build this morning). I think I am running into an encoding issue, but am not sure. Specifically, IDHTTP with SSL calls an old CGI and the CGI returns a .zip file and I then save it to the disk. In 2007 and before this worked perfectly. In 2009, it is not. Here is the examples of the 2 different results (though cut way short in the post) I
am getting back:
'PK'#3#4#$14#0#0#0#8#0'rLQ9žrPb€'#0...delphi 7 Indy 9 and Indy 10
Hi, I can upgrade to indy 10 in delphi 7. But I have discover that indy 9
and Indy 10 have some different properties, so i had to change my old
programs that were made in indy 9 to upgrade it to new version, but it is a
long work. So I want to know if it is possible to install in the same delphi
7 both versions indy 10 and indy 9. I have tried to do it but i received a
Cannot load package 'IndySystem70'. It contains unit 'IdWinSock2', which is
also contained in package 'Indy70'.
Some can give me ideas or a link to read how to install both versi...migrating from Delphi 6 With Indy 10 to XE7 with Indy 10
I updated the original Indy in D6 to version 10 several years ago. Now I want to migrate my application from D6 to XE7 and would like some feedback on the best route to take. I usually send data using readln and writeln statements. The data is typically XML format. Since migrating to XE7 will include potential unicode data what is the best approach to take when reading and writing data? Will writeln and readln work in these cases or should I be using a different strategy to send unicode data between
the tidtcpclient and tidtcpserver applications?
> I usually send data ...Is Indy 9 more estable than Indy 10?
Using Delphi 2009 update 3 and the latest snapshot indy(tiburon).
I am porting app from Indy 9 to Indy 10, the app use a TIdMappedPortTCP
component with SSL.
This is my app configuration using webservices.
Client -> TIdMappedPortTCP and SSL -> IIS Server with webservice app.
The client app uses a method on the webservice that returns a TByteDynArray
that contains a zipped file.
This works with no problem with Indy 9, but when ported to Indy 10,the data
transfer between the webservice
and the client application with some zip files does no get completed,
the client a...Migrating from Indy 9 to Indy 10
At work I had to update an old project and it is socket related. It was written with indy 9 and now all I have is Indy 10.
I could install indy 9 but I'd rather make it work with I10.
The problem is:
In the server side there's a lot of:
AThread.Connection.ReadStream(XX, XX, XX);
idTCPClient is widely used like this:
TCPClie...indy 10 back to indy 9
Can anyone point me in the right direction on how to uninstall Indy 10 and go back to Indy 9?
I have a Delphi 2007 project that was apparently done with Indy 9
...indy 9 ---> indy 10 cpu
I use delphi 5, indy 9.0.50 and indy 10_4806
I have used indy 10 in my some projects before.
And I decided to covert my indy 9 server program to indy 10.
Same code and same system but indy 10 uses alot of cpu if the connection count is greater than 200
indy 9 Server : 900 connections - cpu usage: %0
indy 10 server: 500 connections - cpu usage: %30
I only change below codes:
- Server.ThreadClass := TMypeerthread ---> Server.ContextClass := TMypeerthread
- TMyPeerThread = class(TIdPeerThread) ----> TMyPeerThread = class(TIdServerContext)
- constructor TMyPeerThread...Indy 10 -> Indy 9 TCPClient communication
I have my program happily running in Delphi 2007 with Indy 10, but now I have to do the same program in Delphi 7 with Indy 9. I can't seem to figure out how to read the responses correctly.
Here's the Indy 10 code:
procedure TfmSimpleTest.Timer1Timer(Sender: TObject);
var inBuffer1 : TIDBYtes;
intlen : integer;
REsponse : boolean;
if not assigned(TCPClient.IOHandler) then
if TCPCLient.IOHandler.INputBufferIsEmpty then
while TCPClient.IOHandler.INputbuffer.size >= 2 do
begi...Is it possible to install indy 9 and indy 10 at the same time?
Is it possible to install indy 9 and indy 10 at the same time with a Delphi compiler?
<joshua lim> wrote in message news:email@example.com...
> Is it possible to install indy 9 and indy 10 at the same time with a
> Delphi compiler?
It is technically possible, but it is not easy to set up, and requires
manual work to switch between them when needed.
Remy Lebeau (TeamB)
Thanks Remy, are you referring to this?
I'm sure many of us face the issue of having some projects in Indy 9 ...Indy E-Mail Problem (Indy 10, Delphi 2007)
we use Indy 10 with Delphi 2007 to get E-Mail using IMAP.
We recieved an E-Mail which is not handled correctly.
The E-Mail looks like this
From: "Test Tester" <firstname.lastname@example.org>;
Date: Wed, 7 Mar 2012 16:50:40 +0100
Content-Type: text/html; charset=US-ASCII
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQFk6K6fcF3...Moving from Indy 9 to Indy 10
I tried posting this to the Atozed forums, but the post isn't going thru.
So trying here...
In our D7 mail app, this was our code when using Indy 9 to send emails
(FEmail is TIdSMTP):
FMail.AuthenticationType := atNone;
if FMail.AuthSchemesSupported.IndexOf('LOGIN') > -1 then
FMail.AuthenticationType := atLogin;
on E: Exception do
FMail.AuthenticationType := atNone;
excep...Indy 9 to Indy 10 Conversion
I have a Client / Server in Indy 9.
On Client connect event, I have the next code:
2. c := Connection.ReadChar;
4. c := Connection.ReadChar;
On Server connect event, I have the next code:
1. c := Connect...Indy 9 TIdTCPClient and Indy 10.5 TIdTCPServer
My application is multitiered and has a frontend that installs on a customer's machine and backends which run on our servers. There is a requirement that the legacy frontends compiled with Indy 9 be able to communicate with the new backends compiled with Indy 10.5. Are there any known problems with having Indy 9 TIdTCPClients communicate with Indy 10.5 TIdTCPServers? If so, are there any known workarounds? In particular, is there some limitation in passing TMemoryStreams between two different Indy vers
Edited by: Erzsebet Carmean on Feb 22, 201...Delphi 6 BDE/Indy 10 app crashes in Windows 2008?
I've got a user that reports my Delphi 6 BDE/Indy 10 app that crashes immediately after it is launched when being run on Windows 2008. I'm very puzzled as to why it happened as i had ported the application to work on Vista SP1 a few months ago (by creating the manifest) and thought that Vista and Windows 2008 are similar. As i do not have Windows 2008, I'm still trying to find more info from my user (from another country).
Has anyone experience problems with Windows 2008? Thanks. :)
<joshua lim> wrote in message news:email@example.com...
> I've got ...