Article View: borland.public.cppbuilder.upgrade
Article #583Re: CBuilder 3
From: garrick s
Date: Tue, 18 Jan 2005 04:21
Date: Tue, 18 Jan 2005 04:21
53 lines
3789 bytes
3789 bytes
I did an automatic conversion - simply opened V3 project bpr file with V4; that seemed to work, but a rebuild yielded a few hundred errors. If I remember right, some had to do with STL, but it was a long time ago, so I may be wrong. I remember being simply overwhelmed by the number of errors and the fact that they were all over the modules. At that point, V3 to V4 conversion was basically just a quicky test. This was was back in 2000, and back then the product was pretty stable and not supposed to live past 2002 or whereabouts, so management did not deem it worthwhile to spend any time on the conversion. But now, all of a sudden, 5-10 percent of the installations are failing, and tech support people think it has to do fast PCs, since we have not had a problem from about 1998 to 2003/early 2004. Not a single PC < 2.4GHz has reported a problem, but above that speed problems happen, supposedly, more frequently, on higher speed PCs such as 3-3.2GHz boxes (both Intel and AMD). And it is hard to track - it either works on a PC or it does not. My 3.2GHZ P4 HT box runs the code fine, but a customer has reported an identical box with a problem... And yes, it does control some hardware via serial port and uses a heavy dosage of multithreading. And, no, it is not multi-processor P4-HT related, as my development box back in the 1999 was a dual CPU and I did resolve a couple of multiprocessing related issues bacn then. Anyways, I am digressing, I'll try manually adding files, there are roughly 40-50 units, not that bad. The code does, unfortunately, use quite a bit of STL, more than it should have used. I do not believe I am using any components that were deprecated in V4 or V5. Will give it a shot. Beats scrambling for V3 CDs.. "Hans Galema" <notused@notused.nl> wrote in message news:41ec1c64@newsgroups.borland.com... > garrick s wrote: > > > conversion to V5 is probably not an option. I have previoously tried > > converting to V4, but the code did not compile nd I remember that I'd have > > to edit dfm fle due to some compatability issues. Is that true as far as > > V3 -> V5 conversion? > > Not that I know. I converted a V3 project to V5 a while ago. Do not > use the mak or bpr file from V3. So do not let it automatically > convert to V5 by bcb5. Instead start a new project and add all > the units and so by hand. Indeed that is nasty work. > > I added about 275 units. Cannot remember that I had to change code > to let it compile, link and run. Had to change only few codelines to make > it behave in the same way as with V3. > > In fact I kept both projects parallel for more than a year. Editing > of TForms had to be done only with V3. > > Only if you use the STL or components that are not anymore in V5 > like the nice TNHTML you can expect more work. > > What made it not compile then ? > > Hans.
Technical Details
Message-ID:
<41ec8eef$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41ebfefe$1@newsgroups.borland.com> <41ec1c64@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,772d1a48ebd90e7a X-Google-Attributes: gid10529a,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "garrick s" <g-nospam-svetov@yahoo.com> From: "garrick s" <g-nospam-svetov@yahoo.com> Newsgroups: borland.public.cppbuilder.upgrade References: <41ebfefe$1@newsgroups.borland.com> <41ec1c64@newsgroups.borland.com> Subject: Re: CBuilder 3 Date: Mon, 17 Jan 2005 22:21:51 -0600 Lines: 55 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 24.13.228.31 Message-ID: <41ec8eef$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106022127 24.13.228.31 (17 Jan 2005 20:22:07 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail