tag:blogger.com,1999:blog-8837899541977019574.post7448393033119891554..comments2022-11-16T14:41:56.197+01:00Comments on program begin end. // comments?: Porting from D5 to D2009 - prologueUnknownnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-8837899541977019574.post-85203226749082538702008-11-19T17:53:00.000+01:002008-11-19T17:53:00.000+01:00Thanks for the link, Loïs!Jason, I plan to keep a ...Thanks for the link, Loïs!<BR/>Jason, I plan to keep a work log on this blog, keeping track of how I progress and where I stumble (or fall flat on my face), as well as questions that arise and their solutions.Lars Fosdalhttps://www.blogger.com/profile/05635001623287214775noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-46440705032647024772008-11-19T17:08:00.000+01:002008-11-19T17:08:00.000+01:00We migrated a 1.5+ million line codebase from D5 t...We migrated a 1.5+ million line codebase from D5 to D2006. We split it up in several steps: (1) upgrading or replacing all third party components that weren't compatible with D2006, (2) porting or replacing all in-house components to make them compatible with D2006, and (3) porting the source code itself.Joerihttps://www.blogger.com/profile/17500278865823313342noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-37914701138505067062008-11-19T14:06:00.000+01:002008-11-19T14:06:00.000+01:00Same question here: now developing in D6, planning...Same question here: now developing in D6, planning to go the 2009 way....Jannemanhttps://www.blogger.com/profile/03878273943267360303noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-89772679160043572152008-11-19T10:04:00.000+01:002008-11-19T10:04:00.000+01:00I could be looking to convert from D6 to D2009 in ...I could be looking to convert from D6 to D2009 in the not so distant future so I'd be interested in how this goes for you. Any chance you could put some posts together telling us your pitfalls and successes?Anonymoushttps://www.blogger.com/profile/17816129627979839377noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-67740590720202382362008-11-19T09:46:00.000+01:002008-11-19T09:46:00.000+01:00Article?Try this one:http://dn.codegear.com/articl...Article?<BR/>Try this one:<BR/>http://dn.codegear.com/article/27717develdevilhttps://www.blogger.com/profile/08377044863681700985noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-43942875213639220942008-11-19T08:33:00.000+01:002008-11-19T08:33:00.000+01:00Thank you for your feedback, guys! One part that ...Thank you for your feedback, guys! One part that is particularily worrisome is the designtime components. There was a fundamental change in approach between D5 and D6 if I remember correctly, splitting design code and use code more rigorously?<BR/><BR/>Anyone know of articles that share knowledge on the particular aspect of design time component migration?<BR/><BR/>Fortunately, all my third party libs are (or will shortly be) available for D2009.Lars Fosdalhttps://www.blogger.com/profile/05635001623287214775noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-19663422089983525502008-11-19T07:16:00.000+01:002008-11-19T07:16:00.000+01:00Definitely skip 2007 - otherwise you would need to...Definitely skip 2007 - otherwise you would need to convert some parts twice - especially if there are 3rd party components. Also, it may be easier to rewrite some parts of the code instead of fixing everything, and the new generics (e.g. TList<>) may come in very handy when doing that. You need D2009 for those.<BR/><BR/>Instead of spending time on D2007, I suggest that you spend time on refactoring your app inside Delphi 5, so that you can compile it in smaller parts. When you have made a sub-project that only compiles 50,000 lines of code, it is much easier to make that compile with Delphi 2009. Unit tests are also a very, very good idea, and all this can be done inside Delphi 5.Lars Dhttps://www.blogger.com/profile/06217303713945608384noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-69890210049733405272008-11-18T23:29:00.000+01:002008-11-18T23:29:00.000+01:00I agree with SKamradt, but if you open it in 2009 ...I agree with SKamradt, but if you open it in 2009 and find you are dealing with a lot of issues in addition to unicode then it might make sense to step through 2007 first so you can fix everything but Unicode first. I generally like having milestones where it is complete and working in the process.unusedhttps://www.blogger.com/profile/15713136719615033297noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-21091038767980267492008-11-18T23:15:00.000+01:002008-11-18T23:15:00.000+01:00If you have all of the 3rd party components in Del...If you have all of the 3rd party components in Delphi 2009, then I would skip 2007. The largest piece to overcome would be the string to unicode, but I have yet to have a serious problem with any of the code that I have migrated.SKamradthttps://www.blogger.com/profile/16762334852308664245noreply@blogger.com