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...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...Indy SMTP error in Delphi 2009
a customer of mine gets the following error message:
exception class : ERangeError
exception message : Range check error.
IdGlobal 5220 CharIsInSet
IdGlobalProtocols 611 IndyWrapText
IdHeaderList 214 TIdHeaderList.FoldLine
IdHeaderList 191 TIdHeaderList.FoldAndInsert
IdHeaderList 310 TIdHeaderList.SetValue
It happens when setting a return receipt:
FMessage.Headers.Values['Return-Receipt-To'] := AFromEmail;
Does anybody have an idea, where the problem comes from?
"Christian Kaufmann" <christian.kau...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.
...Delphi 7 to Delphi 2009 conversion
What do I need to do to comile the following code in D2009.
Compiler error after the Else
E2010: Incompatible Types 'AnsiChar' and 'Char'
if isUnicode then
SearchHandle := FindFirstFilew( PWideChar( fn ), FindDataW )
SearchHandle := FindFirstFile( PAnsiChar( Ansistring( fn ) ),
<<<<<compiler error in the above line >>>>>>>>>>>
> What do I need to do to comile the following code in D2009.
> Compiler error after the Else
> E2010: Incompati...Delphi 2007 to Delphi 2009 Conversion
CharArrayPtr = ^CharArray;
CharArray = array[0..MaxInt-1] of Char;
How to convert to Delphi 2009?
Bill Miller wrote:
> CharArrayPtr = ^CharArray;
> CharArray = array[0..MaxInt-1] of Char;
> How to convert to Delphi 2009?
it depends heavelly on how it is used fearther down in your project and
what you want to convert it to.
I you want to simple convert the declarations ignoring UNicode
altogether then the only think you have to change is the CharArray
declaratin from a Char to an AnsiChar eg
CharArrayPtr = ^CharArray;
CharArray =...is there a Delphi 2007
Would be nice to have a bundle of the latest Delphi packages.
Gilbert Padilla wrote:
> Would be nice to have a bundle of the latest Delphi packages.
I expect Delphi 2007 will only be on sale until the full RAD Studio 2009
edition is published, including Delphi 2009.net.
...Upgrading to Delphi 2009 from Delphi 5
I've decided it's time to upgrade to Delphi 2009 Professional from my current Delphi 5 Professional which (according to the FAQ) makes me eligible for the upgrade pricing.
However, I'd just like to clarify how this process works. My concern is that my Delphi 5 is not registered on the CodeGear site and this doesn't seem to be possible as far as I can tell. When installing the trial I noticed that Delphi 2009 registers itself with your CodeGear account so does this mean that the previous version must be registered there to verify you own a Professional edition?
I plan to o...Delphi 2009 alongside Delphi 2007
I am about to install Delphi 2009 on the same development system
as Delphi 2007, before I embark is there anything I should be aware
of so as to not break my Delphi 2007 installation and projects ?
John Taylor wrote:
> Hi all,
> I am about to install Delphi 2009 on the same development system
> as Delphi 2007, before I embark is there anything I should be aware
> of so as to not break my Delphi 2007 installation and projects ?
As long as you install into a separate folder there is no problem with
the two versions getting into each other...Delphi 2009
I am using Delphi 2009 with a recent Indy 10.5.5 development snapshot. In my code I am using a TIDHttp with TIDSSLIOHandlerSocketOpenSSL. The Open SLL .dlls I am using is from the the indy website and are openssl-0.9.8k-i386-win32. The issue is, randomly, I am getting a socket error # 0 error. I never got this error with Delphi 2007 and Indy 10.2.3. Any help would be GREATLY appreciated! Thank you.
The code looks something like this:
sHttpResult, sVar, sParam: string;
ssHttpResult : TStringStream;
slPostData : TStringList;
IdSSL.CheckForDi...Indy and Delphi 2009 ???
Please forgive me if this question has been answered and well documented, but I can't seem to locate the info! :)
Is anyone using Indy 10 with Delphi 2009? If so, any problems with the unicode change, etc?
David Saracini wrote:
> Is anyone using Indy 10 with Delphi 2009?
> If so, any problems with the unicode change, etc?
Just a couple.
If you do have a specific question try here:
or any Indy group on the atozed server:
"One o...Delphi 2009 and Indy
I installed Delphi 2009.
As far as I can see Indy 10 is installed with it.
Now I try to get a program working that I made under Delphi 7.
It uses TIDHashMessageDigest.
Now I cannot use it because of a undeclared identifier.
I added IDGlobal, IDHash, IDHashMessageDigest to the uses list, but no
What went wrong, maybe something with installation?
Franklin Bockstael wrote:
> What went wrong, maybe something with installation?
No, I suspect that it has something to do with Indy. I'd suggest
asking in one of the technical groups that covers ...ShareMem Delphi 6 --> Delphi 2009
I have just upgraded from Delphi 6 to Delphi 2009. My software uses about 20
files, plus literally dozens more plug-ins. Every project has ShareMem as
its first unit and borlndmm.dll is distributed with the software.
I am aware that the Borland Memory Manager was replaced to use FastMM quite
some time ago. Will I have to rebuild every EXE and DLL in DElphi 2009 that
uses ShareMem, or will supplying the new borlndmm.dll be enough?
i.e. I would like to just update the main application EXEs and DLLs, but
leave the plug-ins alone. Will this work?