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...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 ...Delphi 7 to Delphi XE2
Still using that old workhorse, Delphi7, but am going to the conference in
London hosted by Embarcadero on Delphi XE2.
Although I would like to "move with the times" and am keen to get the
UNICODE and 64-bit support offered by the latest IDEs, I confess to being
more than a little scared about all the UNICODE/String/AnsiString and 32/64
bit issues I'm probably going to fall over. Anyone recently upgraded from
Delphi7 to one of the latest Delphi IDEs?
On 03/02/2012 08:55, Alain Dekker wrote:
> Still using that old workhorse, Delphi7, but...Indy 10: multicasting in Windows and MAC with Delphi XE2
I am trying the new version of Delphi, XE2.
I want to make a mDNS client / server, so I have placed the components TIdIPMCastClient and TIdIPMCastServer, and configured them.
Under Windows, I have been able to send packets using the TIdIPMCastServer, although they are not with the source port 5353 (the one for mDNS), because I get always the error "address already in use". How can I workaround this problem, so I can send multicast datagrams with source port 5353?
But under MAC, I have alway the error "Socket error #22, invalid argument". I have tried two...Delphi XE2 - Indy 10
As result of security issues one of the email services in NZ has changed the settings of their email server. It used to be port 25 and outgoing mail was SMTP.xtra.co.nz. The port is now 465 and outgoing mail is now send.xtra.co.nz. The client configuration requires authentication and a secure connection (SSL).
The result is that my code to connect for everyone using that provider is now "busted". I have changed the port and outgoing host accordingly. And have set the IOHandler of idSMTP as IdSSLIOHandlerSocketOpenSSL1. With the Authtype as satSASL. I have als...Delphi XE2, Indy 10
The following code is supposed to send a text string to a client that is listening on a set port and ip address. The connection works fine.
The problem is that nothing seems to be sent.
function TFCSelectForm.SendNitroMessage(NitroRequest: String): String;
sStrm := TMemoryStream.Create;
// sStrm shows as () in the debugger
IdTCPClient1.IOHandler.Write(sStrm, 0, False);
sStrm.Position := 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...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...Delphi 7 Pro to Delphi XE2
I'm porting a project from Delphi 7 Pro to Delphi XE2 and have notice the VersionInfo "Release" and "Build" not being extracted correctly.
Should be "126.96.36.199"
but is getting "1.2.6150.4567"
I'm using the following to extract the VersionInfo and works ok in Delphi 7 but doesnt get the "Release" and "Build" info when used in Delphi XE2.
function GetVersion : string;
Extracts the FileVersion element of the VERSIONINFO
structure that Delphi ma...Is GNU Gettext for Delphi compatible with Delphi XE2 ?
The site http://dxgettext.po.dk declare support for Supports for Delphi
Thanks in advance
lior ilan wrote:
> The site http://dxgettext.po.dk declare support for Supports for Delphi
> Thanks in advance
It is, if you look in the forums mentioned in that website
...Upgrading Indy in Delphi XE2
I'm having a bit of a problem upgrading Indy in XE2.
Well, truth be - I have upgraded, and Indy has installed successfully. I
can see in the IDE I'm running version 188.8.131.52 of the components.
The problem I'm having is trying to re-install the package
According to the instructions I can find, I need to rebuild the package
The only package I can find in here is IPIndyImpl.dpk, which I have rebuilt.
I have deleted every IPIndyImpl.bpl file on my drive. I have then
rebuilt the dpk file, which cr...Delphi and Delphi for .Net
It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
I would like to know is it true all .Net application is slower than Win32 native applicaiton or it is Delphi for .Net only.
Your information is great appreciated,
On 2011-06-21 18:20:17 +0100, Inung Huang said:
> It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
> I would like to know is it true all .Net application is slower than
> Win32 native applicaiton or it is Delphi for .Net only.
If you are only running the code in the application once then, yes, yo...Delphi 2007 to Delphi XE2 paint order change
I have a program here that does some very specific work in the paint
handlers and requires that the controls are painted from bottom to top.
This worked just fine under Delphi 2007 but now that we have migrated to
Delphi XE2, it no longer works.
Tracing the paint order, we discovered that there are cases when the
bottom most component (the form for instance) is drawn last instead of
first, which means that the painting code we do in the program gets a
black area for the bottom most control instead of its background.
This was observed with D2007 and DXE2 on the same c...