Article View: borland.public.cppbuilder.migration
Article #70Re: BCB5 --> BCB6
From: Alisdair Meredith [TeamB]
Date: Thu, 13 Jan 2005 17:16
Date: Thu, 13 Jan 2005 17:16
55 lines
3130 bytes
3130 bytes
Matt wrote: > i'd want to convert my project from BCB5(pack 1) to BCB 6. > Which type of operations I must have to do? In theory you should just open the project in the new IDE and it should be updated automatically. In practice, that does not work so well for anything but the simplest projects. The usual advice is to create a new project (group) and add all the files/libraries to it as before. Doing this through the IDE seems to resolve a lot of the odd issues that might show up. Issues to be aware of are: Some VCL code moved files. The core libraries were reorganised a little to reduced dependencies and provide a common foundation for CLX, 'the VCL for Linux'. You might find you need to update some headers, or forward declarations if you use them. The default STL is supplied by STLport rather than Rogue Wave. If you have made some assumptions that were true with Rouge Wave, but not STLport, you might have some more issues - again, usually header related by assuming standard header X will always include standard header Y. The awkward one is if you use any 3rd party VCL components. Ideally the component vendors will support you with BCB6 versions. Failing that, if you have the source, you can compile a BCB6-compatible version yourself. Remember, after installing the IDE you will have to install any 3rd party design time packages into it again. If your project is any size there will definitely be some work involved, but it is quite managable. I upgraded our own projects singlehanded (over 1,000,000 lines of code and several thousand source file, ~200 projects) over a period of 3 weeks. In this time I also totally restructured the directory tree and build system (it seemed like a good time!) and ported the Orpheus components we used as TurboPowel withdrew from the business we week I started porting! The majority of my time was spent refactoring the build system, and then working on Orpheus. I don't really remember devoting much time to BCB upgrade issues at all (but then, I was building new projects anyway, with the build system work) Remember to download and install the patches as well. Patch 4 is quite important if you are building large projects, although BCB5 has the same problem it fixes so I guess it is not an isse for you yet ;?) AlisdairM(TeamB)
Technical Details
Message-ID:
<41e6acf8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41e3adc5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,382c30b023eaa9d8 X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Alisdair Meredith [TeamB]" <alisdair.NO.SPAM.PLEASE.meredith@uk.renaultf1.com> Subject: Re: BCB5 --> BCB6 Newsgroups: borland.public.cppbuilder.migration References: <41e3adc5$1@newsgroups.borland.com> Organization: Renault F1 Team Ltd. User-Agent: XanaNews/1.16.5.1 NNTP-Posting-Host: 195.153.139.2 Message-ID: <41e6acf8@newsgroups.borland.com> Date: 13 Jan 2005 09:16:40 -0800 X-Trace: newsgroups.borland.com 1105636600 195.153.139.2 (13 Jan 2005 09:16:40 -0800) Lines: 55 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail