Delphi 4 to Delphi 2009

Hello,
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.
I am not using any third party components except the Report builder 6.03. I am aware i need to upgrade the report builder to 11.04 since it is compatible with Delphi 2009.
Can anyone help?
Thanks,
Ashish
0
Ashish
5/21/2009 8:48:07 AM
📁 embarcadero.delphi.non-tech
📃 5933 articles.
⭐ 1 followers.

💬 5 Replies
👁️‍🗨️ 2603 Views


<Ashish Sapkal> wrote in message news:119189@forums.codegear.com...
> 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.
AFAIK, there is no such tool. You must re-compile your app in D2009 and then 
go through every error, warning and hint that compiler generates and fix 
them manually. However, removing all errors and warning won't mean that your 
app will work as intended. It highly depends on your code and the way it 
uses the "string" data type.
0
farshad
5/21/2009 8:58:29 AM
Hi
I believe a tool in in the making.  It was mentioned in a writeup on the 
lastest Delphi live seminar.

"Farshad Mohajeri" <farshad@ATfmsoftDOT.net> wrote in message 
news:119196@forums.codegear.com...
> <Ashish Sapkal> wrote in message news:119189@forums.codegear.com...
>> 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.
>
> AFAIK, there is no such tool. You must re-compile your app in D2009 and 
> then go through every error, warning and hint that compiler generates and 
> fix them manually. However, removing all errors and warning won't mean 
> that your app will work as intended. It highly depends on your code and 
> the way it uses the "string" data type.
0
Godfrey
5/21/2009 3:01:07 PM
Ashish Sapkal wrote:
> 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.
> 
> I am not using any third party components except the Report builder 6.03. I am aware i need to upgrade the report builder to 11.04 since it is compatible with Delphi 2009.
The tool is forthcoming. But it sounds like it could be a very easy 
migration, especially since you only use one third-party component 
library. Another main factor is if you have any assumptions based on the 
size of a character. If not, the migration should be very easy.
Read Nick's articles. But beyond that, simply make a copy of your 
project, and try to compile it with the newest RB. I migrated 5 
applications totaling 2 million loc in a couple of days.
Loren sZendre
0
Loren
5/21/2009 5:11:28 PM
Loren Szendre wrote:
> Read Nick's articles. But beyond that, simply make a copy of your 
> project, and try to compile it with the newest RB. I migrated 5 
> applications totaling 2 million loc in a couple of days.
Good to hear. One more proof that converting a project to D2009 is not
nearly as hard as some people here (who are pretty silent right now)
loved to claim it would be.
-- 
Rudy Velthuis (TeamB)        http://www.teamb.com
"Put your hand on a hot stove for a minute, and it seems like an 
 hour. Sit with a pretty girl for an hour, and it seems like a 
 minute. THAT'S relativity." -- Albert Einstein?
0
Rudy
5/21/2009 5:42:59 PM
Ashish Sapkal wrote:
> Hello,
> 
> 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.
> 
> I am not using any third party components except the Report builder 6.03. I am aware i need to upgrade the report builder to 11.04 since it is compatible with Delphi 2009.
> 
> Can anyone help?
> 
> Thanks,
> Ashish
If you have components, they might be the biggest issue. You have to 
have an additional unit for the design time links as I recall.
0
D
5/22/2009 1:31:46 PM
Reply: