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...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 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 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 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...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 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.
...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 ...Why does this work fine in Delphi 2009, but not in Delphi 2010
I've been racking my head trying to figure this out and can't understand what is wrong, TFileStream.ReadComponentRes fails when I try to read a component containing a record, it works fine in Delphi 2009 and Delphi 2007, but fails with Delphi 2010
Here is the unit source and DFM
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
TThresholdMode = (tm0,tm1,tm2,tm3,tm4,tm5);
TThreshold = Record
Basically, I am moving an app from Delphi 5 to Delphi 2009 which is all great (yeah right!) and I am having a couple of issues with some thirdparty components that we have the source code for.
Being that I wanted to make the task as easy as possible, I was able to download the component in Delphi 2007 format. I have now managed to port that to 2009 so it compiles only with warnings and no errors. So all is good at this moment.
Now I am trying to install the component into the IDE by using the install menu option from the project manager. This is where I run into errors. ...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?
...Question about Delphi 2009 vs Delphi 7
I was wondering if any of you can point me to a URLs that show the most
important improvements between these versions of Delphi.
The objective is convincing the powers-that-pay-the-bills that moving to
D2009 (that we'd have to purchase) is a better idea than moving to D7 (for
which we have licenses).
Fire at will!
"I have been through some terrible things in my life, some of which actually
happened." (Mark Twain)
Alessandro Federici wrote:
> I was wondering if any of yo...