Mega Search
23.2 Million


Sign Up

Make a donation  
Which version to use going from D2007 to unicode enabled ver  
News Group: embarcadero.public.delphi.ide

I want to migrate D2007 project(s) to unicode but it seems like an
uphill battle doing so directly to XE5...
Have tried for a rather long time now and am on the verge of giving
up. But I need the unicode handling for switching languages in the
applications.

So is there a recommended version to use if the task is only to
migrate to unicode but otherwise doing as little as possible?
The IDE version should be stable and as bug free as possible of
course.

I have licensed XE2-3-4-5-6-XE7 in addition to D7-BDS2006-RAD2007.
I believe my recent upgrade to XE7 makes it possible to also get the
versions between RAD2007 and XE2.

Which one would be a good choice?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 10:42 AM EST
From: Bo Berglund
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
Jim,

With respect, just working with Strings isn't going to cause any problems, but mixing (ansi)strings, (wide)strings and streams is guaranteed to create some glitches.

Took me a few hours why writebuffering a unicode string to a stream in order to pass it into an ADOparameter (or was it readbuffer) only sent one character across - because the second byte was always nil which terminated the string.....

Regards

> {quote:title=Jim Fleming wrote:}{quote}
> Bo,
> 
> I went painlessly from D2007 to XE2 in one step with an application that is 
> all strings, strings everywhere !! It's a sort of lexicographers workbench, 
> so strings are it !!!
> 
> Had some minor hiccups with richedit components, but nothing else AFAIR.
> 
> --
> JF

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 14-Jan-2015, at 6:51 AM EST
From: Jeff Dyer
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
On 12/01/2015 19:44, Bo Berglund wrote:
[]
> Thanks,
> that would be the minimum of course since that was when they switched
> in unicode...
> But such a major change might lead to problems too, which are solved
> only in the next release. Did you see any such items?
>
> As you might have seen in other threads here I am struggling with a
> non-unicode application that also uses GLScene (version for BDS2006)
> and it is a real pain to get it going in XE5 to gain the unicode
> support. If 2009 is good enough it might be easier to migrate only 2
> releases up. I guess noone is using Delphi 2008 anymore, right?
> And I do have the licenses for all RAD studios from 2009 now.

I agree with what the others have said, Bo.  It does depend on the 
components you have.  But moving just a couple of versions up will get 
Unicode out of the way, at least.  I found most of the conversion was 
straight-forward, but you need to be careful with external libraries, 
and some odd things may come and bite you months later (if your 
experience is the same as mine)!

Personally, I have stuck with D2009 as I've yet to find any need for 
what is extra in later releases.  Doubtless others would disagree, 
strongly or weakly.

-- 
David
Web: http://www.satsignal.eu

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Jan-2015, at 11:44 AM EST
From: David Taylor
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
I remember when I worked with D2009 it was a bit buggy, so maybe it is more wise to use D2010.
Indeed I would not go for an XE version right away because then you have to convert other
things as well that were changed in XE versions. But is also depends if you find your 3th party 
components for these versions. If your projects are not so complex it can be that moving
to a XE version is not so hard afterall..

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 13-Jan-2015, at 12:14 AM EST
From: Robert Triest
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
Bo Berglund wrote:
> I guess noone is using Delphi 2008 anymore, right?

No one in our current space time reality is using Delphi 2008 - because 
there never was one!

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 12:28 PM EST
From: quinn wildman
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
Bo,

I went painlessly from D2007 to XE2 in one step with an application that is 
all strings, strings everywhere !! It's a sort of lexicographers workbench, 
so strings are it !!!

Had some minor hiccups with richedit components, but nothing else AFAIR.

--
JF

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 11:53 AM EST
From: Jim Fleming
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
On Mon, 12 Jan 2015 11:33:06 -0800, David Taylor
 wrote:

>> I have licensed XE2-3-4-5-6-XE7 in addition to D7-BDS2006-RAD2007.
>> I believe my recent upgrade to XE7 makes it possible to also get the
>> versions between RAD2007 and XE2.
>>
>> Which one would be a good choice?
>
>I found that Delphi 2009 was a good choice just to get the Unicode stuff 
>out of the way.  In fact, I simply haven't wanted or needed anything 
>higher as most of the features in XE7, for example, do little to help my 
>Windows programs.  Different were I wanting to use 64-bit, iOS or 
>Android, of course.

Thanks,
that would be the minimum of course since that was when they switched
in unicode...
But such a major change might lead to problems too, which are solved
only in the next release. Did you see any such items?

As you might have seen in other threads here I am struggling with a
non-unicode application that also uses GLScene (version for BDS2006)
and it is a real pain to get it going in XE5 to gain the unicode
support. If 2009 is good enough it might be easier to migrate only 2
releases up. I guess noone is using Delphi 2008 anymore, right?
And I do have the licenses for all RAD studios from 2009 now.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 11:44 AM EST
From: Bo Berglund
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
On 12/01/2015 18:42, Bo Berglund wrote:
> I want to migrate D2007 project(s) to unicode but it seems like an
> uphill battle doing so directly to XE5...
> Have tried for a rather long time now and am on the verge of giving
> up. But I need the unicode handling for switching languages in the
> applications.
>
> So is there a recommended version to use if the task is only to
> migrate to unicode but otherwise doing as little as possible?
> The IDE version should be stable and as bug free as possible of
> course.
>
> I have licensed XE2-3-4-5-6-XE7 in addition to D7-BDS2006-RAD2007.
> I believe my recent upgrade to XE7 makes it possible to also get the
> versions between RAD2007 and XE2.
>
> Which one would be a good choice?

I found that Delphi 2009 was a good choice just to get the Unicode stuff 
out of the way.  In fact, I simply haven't wanted or needed anything 
higher as most of the features in XE7, for example, do little to help my 
Windows programs.  Different were I wanting to use 64-bit, iOS or 
Android, of course.

-- 
David
Web: http://www.satsignal.eu

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 11:33 AM EST
From: David Taylor
 
Re: Which version to use going from D2007 to unicode enabled  
News Group: embarcadero.public.delphi.ide
On Mon, 12 Jan 2015 10:42:20 -0800, Bo Berglund
 wrote:

>Which one would be a good choice?
I looked at my licenses and compared to my ISO files and RAD Studio
2010 is missing, so I tried to locate it at Embarcadero.
But I find Disk2 and Disk3 for RAD Studio 2010 in addition to Disk1
among my registered downloads...

Do I need all of the update and hotfix as well as iso 2 and 3 files as
well or is Disk1 complete with the fixes???

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 12-Jan-2015, at 11:09 AM EST
From: Bo Berglund