Converting Delphi 2007 Indy 10.2.3 to Delphi 2009 Indy 10.5.5 [Edit]Hello,
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:
2007:
'PK'#3#4#$14#0#0#0#8#0'rLQ9žrPb€'#0...
Delphi and Delphi for .NetIt 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,
Inung
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...
converting delphi code to delphi .NET
Hi,I'm looking at converting quite a bit of old delphi code to delphi .NET . I'm wondering can it be converted to VB.NET for certain ? Or perhaps there are some unsupported functions etc in delphi and I should keep the code delphi ?
There are about 10,000 lines of code. Anyone brave enough to take an estimate on how long it would take to convert 10,000 lines ?is going from delphi to delphi.NET smooth ? Would going to another language cause complications ?Thanks!
mike123
Mike123,
Sorry I can not help, however, I have the s...
Delphi 6 to Delphi 2010 upgrade and ADOWe have an application written in Delphi 6 Professional that uses ADO to access databases servers that may be on other PCs in our network.
We want to move to Delphi 2010 but can't decide if we need Professional or Enterprise. 2010 Pro has dbGO - will this give us the same functionality as the ADO components we use in Delphi 6 Pro?
Thanks,
Keith
> 2010 Pro has dbGO - will this give us the same functionality as the
> ADO components we use in Delphi 6 Pro?
Yes.
> {quote:title=Joachim Uersfeld wrote:}{quote}
> > 2010 Pro has dbGO - will this give us the same func...
Converting Delphi for Win32 to Delphi .Net(Prism)Hi,
I am currently migrating a project from Delphi for Win32 to Delphi.net.
Part of my code currently goes into a directory and pulls out a random file from this directory and loads the contents of the file for me. This code doesn't seem to work in Delphi.Net. It uses PString and a number of functions in SysUtils that don't seem to be present in Delphi.net's SysUtils file.
If anyone can help me please, it would be greatly appreciated!
Many thanks,
Jonathan Mackey
Jonathan Mackey a écrit :
> I am currently migrating a project from Delphi for Win32 to
&...
Delphi 2010*Upgrading from Delphi 2007 to Delphi 2010*
(as of February 1, 2010)
I bought a new computer in December and decided to upgrade from Delphi 2007 to Delphi 2010. Here are some lessons learned related to the Delphi upgrade, which I hope will make a similar transition easier for others. I still have an insurmountable problem with the speed of the IDE (#13 below).
As background, my old system had 3 GB of RAM, 40GB of unused disk, a 3.8 GHz CPU, and ran under Windows XP. My new system has 12 GB of RAM, 770GB of unused disk, a quad core 2.67 GHz CPU, and runs under Win7 Home Edition.
...
Project Manager Delphi 2007 vs Delphi 5I am in the midst of moving from Delphi 5 to Delphi 2007. I have a .BAT file that I use to do some post processing on the executable after it is built. In Delphi 5, I just added the .BAT file to the project manager. Then when I wanted to execute the .BAT file I just right clicked its entry in the project manager and selected Execute.
There doesn't seem to be anyway to add the .BAT file to the project manager in Delphi 2007. How can I set up something similar to what I had in Delphi 5? I thought about using a Post Build event but I don't necessarily want to execute the .BAT fi...
Memory usage in Delphi 2007 vs. Delphi 5Going from Delphi 5 to Delphi 2007 and finding something way unexpected.
The reportedly *same code, and same data,* uses about 104 MB in Delphi 5
and about 400 MB in Delphi 2007 according to the Windows Task Manager.
Now, I know that it is not the most accurate way of measuring memory
usage, but it gives us an idea of the proportion of memory use in Delphi
2007.
Before we go deeper, we just created 20,000 objects and added them to an
object list in Delphi 5 and 2007. The result in memory use still looks
like 50 MB (Delphi 5) to 178 MB (Delphi 2007).
We've downloaded ...
Delphi 5 To Delphi 2009I 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 2007Hello,
I will have to port a D4 application (with source) to D2007.
what kind of problem could I face ?
I will have to go to customer site tommorow to analyse its source code
to quote the work, what should I care of to hestimate the porting time ?
Thanks
John Terry wrote:
> Hello,
> I will have to port a D4 application (with source) to D2007.
> what kind of problem could I face ?
> I will have to go to customer site tommorow to analyse its source code
> to quote the work, what should I care of to hestimate the porting time ?
You can probably do it by just changi...
Delphi 5 to Delphi 6 and upDear List,
Trying to add 7Zip compression support to my delphi application.
I am using the ported 7Zip sdk (see their website, they have a link).
I am stumped on how to rewrite a single function:
function ReverseDecode(var Models: array of SmallInt; ....): .....
where the input is mostly a fixed size array of SmallInt.
This code perfectly compiles and functions in Delphi 6 and up, but in Delphi 5 I get the error:
There is no overloaded version of 'ReverseDecode' that can be called with these arguments
And obviously, the input (fixed) isn't the same as the param de...
Delphi 5 to Delphi XE4Thinking about making the conversion. Of course we have numerous components such as:
TurboPower AsyncPro,
TurboPower Orpheus
ICS2
Synactis All-In-The-Box.
You guys have any advice as to the effort and time it may possibly take. It is a large application, several hundred thousand lines.
And that's what happens when using third party components, a lot of extra work. I have been burned a few times.
I now minimize the use to a few well known suppliers, like TMS.
I have "banned" a lot of other components.
Regards,
Ole
>
> Thinking about making the conver...
Delphi 2007 to Delphi 7I've written a class in Delphi 2007 that is not supported in Delphi 7. What
would be the best way to achive what I've done in Delphi 2007 in Delphi 7?
Thanks,
Tom
type BondConstants = class
{ Bond Types }
type BondType = record
const
TREASURY = 3;
AGENCY = 0;
CORP = 1;
MUNI = 2;
SBA = 5;
MBS = 4;
CMO = 6;
end;
{ Day Count Methods }
type DayCount = record
const
ACTUAL_360 = 2;
ACTUAL_365 = 1;
ACTUAL_ACTUAL = 1;
d30_360 = 0;
...
Delphi 5 with ADOHi
I'm having some problems adjusting a Delphi5/MSSQL database application, which i did not wrote (what's more: i'm not a Delphi expert either) so i thought maybe someone in this comunity will enlighten me. It' about an SQL command which is issued by this delphi5 application (the sql command was traced in SQL server with profiler), but which is nowhere to be found in the souce code. I've searched already all the components which i knew that could issue the SQL command (TADOQuery, TADOCommand) but with no l
uck. Could anyone tell me other misterious places where i shou...