Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How to know which IDE version has been used?



Permlink Replies: 13 - Last Post: Jan 8, 2015 1:38 PM Last Post By: Quentin Correll
Bo Berglund

Posts: 757
Registered: 10/23/02
How to know which IDE version has been used?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 12:39 AM
This might be a daft question but I need to find the answer...
I have several different versions of Delphi installed on my PC:
Delphi 7
BDS 2006
RAD Studio 2007
RAD Studio XE3
RAD Studio XE5
RAD Studio XE7

For the last month or so I have been working on conversion of projects
to later versions of the IDE (across the unicode border) and now I am
coming back after X-mas and I need to know which IDE was used for a
particular compile. I have forgotten this of course...

I have the sources in different trees so I can compile using the
various IDE's (not all of them though) and then compare the result.

Now I have found a strange difference and I need to know which version
was used to build this particular version. Candidates are XE5 and XE7,
but I don't know how to know the difference.

Is there some kind of marker saved in any of the project files that
can be used to determine this?
Tom Brunberg

Posts: 329
Registered: 12/27/04
Re: How to know which IDE version has been used?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 1:57 AM   in response to: Bo Berglund in response to: Bo Berglund
Bo Berglund wrote:

This might be a daft question but I need to find the answer...
I have several different versions of Delphi installed on my PC:
Delphi 7
BDS 2006
RAD Studio 2007
RAD Studio XE3
RAD Studio XE5
RAD Studio XE7

For the last month or so I have been working on conversion of projects
to later versions of the IDE (across the unicode border) and now I am
coming back after X-mas and I need to know which IDE was used for a
particular compile. I have forgotten this of course...

I have the sources in different trees so I can compile using the
various IDE's (not all of them though) and then compare the result.

Now I have found a strange difference and I need to know which version
was used to build this particular version. Candidates are XE5 and XE7,
but I don't know how to know the difference.

Is there some kind of marker saved in any of the project files that
can be used to determine this?

Bo,
I asked the very same question a few years ago. Uwe Schuster was kind to answer as follows:

Tom Brunberg wrote:

Is there a way to see from the .dproj, .dcu, .exe or any other file
of a project, with which Delphi version it has been compiled?

What is the purpose of that?

.dproj:
largely possible and from top of my head look for this
- <Borland.Personality>
Delphi.Personality = Delphi 2007
Delphi.Personality.12 >= Delphi 2009
- <ProjectVersion>
12.2 and 12.3 = Delphi XE
13.4 = Delphi XE2

.dcu: look for the fourth byte
$12 = Delphi 2006 or 2007
$14 = Delphi 2009
$15 = Delphi 2010
$16 = Delphi XE
$17 = Delphi XE2

.exe: you would have to look for specific RTL byte sequences and
component properties
--
Uwe Schuster | Hero of the Delphi 2010 FT

Cheers

--
Tom Brunberg
firstname dot lastname at welho dot com

Edited by: Tom Brunberg on Jan 7, 2015 12:00 PM
Bo Berglund

Posts: 757
Registered: 10/23/02
Re: How to know which IDE version has been used?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 6:54 AM   in response to: Tom Brunberg in response to: Tom Brunberg
On Wed, 7 Jan 2015 01:57:38 -0800, Tom Brunberg <nospam@to.me> wrote:

.dcu: look for the fourth byte
$12 = Delphi 2006 or 2007
$14 = Delphi 2009
$15 = Delphi 2010
$16 = Delphi XE
$17 = Delphi XE2

Thanks,
the DCU was a giveaway. Byte #4 contained $1A, which by extrapolation
from the above list would be XE5.
I guess it continues as:
$18 = XE3
$19 = XE4
$1A = XE5
$1B = XE6
$1C = XE7
Tom Brunberg

Posts: 329
Registered: 12/27/04
Re: How to know which IDE version has been used?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 8:05 AM   in response to: Bo Berglund in response to: Bo Berglund
Bo Berglund wrote:

On Wed, 7 Jan 2015 01:57:38 -0800, Tom Brunberg <nospam@to.me> wrote:

.dcu: look for the fourth byte
$12 = Delphi 2006 or 2007
$14 = Delphi 2009
$15 = Delphi 2010
$16 = Delphi XE
$17 = Delphi XE2

Thanks,
the DCU was a giveaway. Byte #4 contained $1A, which by extrapolation
from the above list would be XE5.
I guess it continues as:
$18 = XE3
$19 = XE4
$1A = XE5
$1B = XE6
$1C = XE7

Yes, I can confirm that for XE6 and XE7

--
Tom Brunberg
firstname.lastname@welho.com
Uwe Raabe

Posts: 180
Registered: 10/20/00
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 7:19 AM   in response to: Tom Brunberg in response to: Tom Brunberg
Tom Brunberg wrote:

.dproj:
largely possible and from top of my head look for this
- <Borland.Personality>
Delphi.Personality = Delphi 2007
Delphi.Personality.12 >= Delphi 2009
- <ProjectVersion>
12.2 and 12.3 = Delphi XE
13.4 = Delphi XE2

Just to complete this list:

2007: N/A
2009: 12.0
2010: 12.0
XE: 12.2
XE.1: 12.3
XE2: 13.4
XE3: 14.3
XE4: 14.4
XE5: 15.1
XE6: 15.4
XE7: 16.0
XE7.1: 16.1

--
Uwe Raabe
Embarcadero MVP
Tom Brunberg

Posts: 329
Registered: 12/27/04
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 8:09 AM   in response to: Uwe Raabe in response to: Uwe Raabe
Uwe Raabe wrote:

Tom Brunberg wrote:

.dproj:
largely possible and from top of my head look for this
- <Borland.Personality>
Delphi.Personality = Delphi 2007
Delphi.Personality.12 >= Delphi 2009
- <ProjectVersion>
12.2 and 12.3 = Delphi XE
13.4 = Delphi XE2

Just to complete this list:

2007: N/A
2009: 12.0
2010: 12.0
XE: 12.2
XE.1: 12.3
XE2: 13.4
XE3: 14.3
XE4: 14.4
XE5: 15.1
XE6: 15.4
XE7: 16.0
XE7.1: 16.1

Thank you Uwe! You Uwes seem to be well informed <g>

--
Tom Brunberg
firstname.lastname@welho.com
Bo Berglund

Posts: 757
Registered: 10/23/02
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 9:15 AM   in response to: Uwe Raabe in response to: Uwe Raabe
On Wed, 7 Jan 2015 07:19:42 -0800, Uwe Raabe <uwe at uweraabe dot de> wrote:

XE7.1: 16.1

Oh boy!
I just upgraded to XE7, had XE5 since about 14 months.
Expected XE6 to be the next year's version but then quickly XE7 was
announced so I upgraded about a month ago.

And now there is yet another version XE7.1?
Why the haste? Too many bugs?
Should I stay with D2007 & XE5?
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 10:35 AM   in response to: Bo Berglund in response to: Bo Berglund
Bo Berglund wrote:

On Wed, 7 Jan 2015 07:19:42 -0800, Uwe Raabe <uwe at uweraabe dot de> wrote:

XE7.1: 16.1

Oh boy!
I just upgraded to XE7, had XE5 since about 14 months.
Expected XE6 to be the next year's version but then quickly XE7 was
announced so I upgraded about a month ago.

And now there is yet another version XE7.1?

That is just update 1 for XE.

The release cycle has shifted to two major releases per year, as I
understand it that is due to the rapid evolution of the mobile
platforms Delphi now supports.


--
Peter Below (TeamB)

Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 12:17 PM   in response to: Peter Below in response to: Peter Below
Peter,

| That is just update 1 for XE.

Don't you mean ...XE7?

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Peter Below

Posts: 1,227
Registered: 12/16/99
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 8, 2015 10:24 AM   in response to: Quentin Correll in response to: Quentin Correll
Quentin Correll wrote:

Peter,

That is just update 1 for XE.

Don't you mean ...XE7?

Yes, sorry. My keyboard tends to eat keystrokes now and then...

--
Peter Below (TeamB)
Quentin Correll


Posts: 2,412
Registered: 12/1/99
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 8, 2015 1:38 PM   in response to: Peter Below in response to: Peter Below
Peter,

| | Don't you mean ...XE7?
|
| Yes, sorry. My keyboard tends to eat keystrokes now and then...

Hey! I like that idea... When I do such typo things I've always taken
the blame for them! ;-)

--

Q

1.19.1.372 (Q's Broken Toolbar.)

Bo Berglund

Posts: 757
Registered: 10/23/02
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 1:05 PM   in response to: Peter Below in response to: Peter Below
On Wed, 7 Jan 2015 10:35:01 -0800, Peter Below <none@address.invalid>
wrote:

And now there is yet another version XE7.1?

That is just update 1 for XE.

The release cycle has shifted to two major releases per year, as I
understand it that is due to the rapid evolution of the mobile
platforms Delphi now supports.

An we have to do a full-priced upgrade twice a year instead of once a
year????
Juha Piispa

Posts: 7
Registered: 9/27/99
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 9:27 PM   in response to: Bo Berglund in response to: Bo Berglund
Bo Berglund <bo dot berglund at nospam dot com> wrote:

On Wed, 7 Jan 2015 10:35:01 -0800, Peter Below <none@address.invalid>
wrote:
The release cycle has shifted to two major releases per year, as I
understand it that is due to the rapid evolution of the mobile
platforms Delphi now supports.

An we have to do a full-priced upgrade twice a year instead of once a
year????

You should look for software assurance. Cheapest way to be on latest
version.

Regards, Qapla'
Juha Piispa
Linden ROTH

Posts: 467
Registered: 11/3/11
Re: How to know which IDE version has been used? [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 7, 2015 9:37 PM   in response to: Bo Berglund in response to: Bo Berglund
Bo Berglund wrote:
On Wed, 7 Jan 2015 10:35:01 -0800, Peter Below <none@address.invalid>
wrote:

And now there is yet another version XE7.1?

That is just update 1 for XE.

The release cycle has shifted to two major releases per year, as I
understand it that is due to the rapid evolution of the mobile
platforms Delphi now supports.

An we have to do a full-priced upgrade twice a year instead of once a
year????

Only if you want/need to be up todate but there is another upgrade method that's 1/2 the price of normal up grade if you stay 100% upto date that said get SA

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02