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 2009 and Indy 10 CharSet encoding problem
I'm sending some e-mails with my app, but the body text of my messages
isnt displaying like expected ...
example: I write some text with this characters ç ã é ó the text is
changed to another char like "g".
How can I fix that ? I've tryed to change the CharSet to Windows 1252
but nothing happened ...
Any tips ?
"Loki Man" <firstname.lastname@example.org> wrote in message
> I've tryed to change the CharSet to Windows 1252 but noth...Problem about Indy 10, IdTelnet component in Delphi 2009
I make a simple test telnet program communicate with a linux server , through Idtelnet component , I specify the host property with a server ip, use a button to connect to the server . and display the welcome message in a memo . code as blew :
procedure TForm1.Button1Click(Sender: TObject);
procedure TForm1.TelnetDataAvailable(Sender: TIdTelnet; const Buffer: string);
But when I click the button , the message displayed in the memo is like " }} }#}' ", not the normal...Delphi 2009 / indy 10 html email unicode problem
I have updating an email application to delphi 2009 from delphi 2006.
I now have the problem that html emails in in cyrrilic or greek are not send correctly.
The code I used is:
with IdMessage do
IsEncoded := true;
Charset := 'utf-8';
Encoding := meMime;
UseNowForDate := true;
Subject := MailSjabloon.Subject;
From.Name := MailSjabloon.AfzenderNaam;
From.Address ...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" <email@example.com>;
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...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 ...Indy IdHMACSHA1 different results in Delphi 2007 and Delphi 2009
A test of the IdHMACSHA1 encryption method shows different results, and
I am not sure if there is an error in my code or in the Indy code
shipped with Delphi 2009.
The Delphi 2007 version works in an application which communicates with
Amazon Web Services and so it seems to be the correct one.
Any suggestions are very welcome, maybe I just need to download a newer
version of Indy?
IdHMACSHA1, IdCoderMIME, IdGlobal, SysUtils;
function Base64Encode(const Input: string): string;
Result := TIdEncode...Problems
We have a software developed in the Delphi 2009 and we do NOT use the runtime themes.
So, the option: Projetct / Options / Application / Enable Runtime Themes is UNCHECKED.
When I'm on the Delphi 2009, it's all right.
The problem is when I use the Delphi 2010.
The same configuration (Projetct / Options / Application / Enable Runtime Themes is UNCHECKED).
The form editor (IDE) insists on show the forms with the current Windows theme.
I don't like this, I want the runtime themes off while I'm programming and editing my forms.
How can I solve it?
Thanks to...Indy 10.6 compilation with Delphi 2009
With the current Subversion branch, the Delphi 2009 compiler shows these
C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(287) Error: E2137
Method 'GetSocketOption' not found in base class
C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(289) Error: E2137
Method 'SetSocketOption' not found in base class
C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(322) Fatal: F2063
Could not compile used unit 'IdIDN.pas'
TIdStackWindows in System\IdStackWindows.pas, Lines 287 to 290:
procedure GetSocketOption(ASocket: TIdStackSocketHandle; ALevel...Indy 10 install problem / Delphi 2006
I recently did a wipe-and-reinstall on my PC. I installed Delphi 2006 and now I am trying to install the newer version of Indy10 as the one that comes with the Delphi 2006 install has bugs.
I followed the instructions I found here: http://www.indyproject.org/Sockets/Docs/Indy10Installation.EN.aspx
and I downloaded the new version from here: http://indy.fulgan.com/ZIP/indy10.zip
I unzipped the relevant directories into a new subdirectory I created under C:\Program Files\Borland\BDS\4.0\source\Indy10New\Lib
When I began step 3, which says "Now open these .dpk files and click install...Delphi 5 To Delphi 2009
I upgraded to Delphi 2009 from D5. The install says I can install Delphi and/or C++. Delphi installed OK but I see nothing of C++. What am I missing or does my upgrade not include C++? Thanks
It depends on what you bought. If you bought Delphi 2009 only, that's
what you get. If you bought Delphi 2009 and C++ Builder 2009 you get
both. My guess is you got Delphi 2009 only. The simplest way to verify
is look your invoice - it should say I would think. You could also go to
members.embarcadero.com, login, then click on my registered products.
There will be a textual description of...Delphi 4 to Delphi 2009
Thanks to all who answered my previous question. That was a great help.
And atlast our client agreed to upgrade our delphi version from 4 to Delphi 2009. *Sigh*.
But before that, I need to give the estimation and cost regarding the migration to delphi 2009.
Can anyone tell me is there any tool to migrate from delphi 4 to delphi 2009 or just I need to compile our Delphi 4 application in Delphi 2009.
I have read from the delphi 2009 feature matrix that Delphi 1 through Delphi 2007 import is possible in delphi 2009. But i am not that sure considering the size of our application.
...Badly Decoded Body in Indy 10, Delphi 2009
I'm trying to use Indy 10 Tiburon from the fulgan website with Delphi 2009.
I have TIdMessage.NoEncode=true. When I do a TIdTNNTP.GetBody I get the
following type of gobbledy-gook for the body, instead of a body with regular
and Japanese unicode characters
'<h4>'#$D#$A'ã'#$81#$84'ã'#$81'¤ã'#$82#$82'ã'#$81#$8A'ä¸'#$96'è©±ã'#$81'«ã'#$81'ªã'#$81'£ã'#$81'¦ã'#$81#$8A'ã'#$82#$8A'ã&...Problems sending emails with attachments in Indy SMTP in Delphi 2009
I'm working with Delphi 2009 fully updated (12.0.3420.21218 with Update Pack 3), and I had the original version of the Indy 10.2.5. All attachments were going with a file name ATT000043.dat, instead of the correct name. I updated to the latest Indy from the Dev Snapshot, and it went to version 10.5.7. However, now the attachment does not appear as an attachment at all, the the message appears as:
This is a multi-part message in MIME format