| |

VerySource

 Forgot password?
 Register
Search
View: 1935|Reply: 4

How to check the IDE version used by a delphi project

[Copy link]

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-18 23:01:32
| Show all posts |Read mode
Downloaded a legendary source code, the DELPHI version
Currently compiled with 2007, it prompts E2362 Cannot access protected symbol TAbstractSocket.Address
Compile with 10.2, there is no error in socket, but: PChare(...), there will be an error
How can I know the version number of the IDE developed by the project?
Reply

Use magic Report

1

Threads

3

Posts

240.00

Credits

Full Member

Rank: 3Rank: 3

Credits
240.00

 China

Post time: 2020-9-24 22:45:07
| Show all posts
Look at the tips~~~
Reply

Use magic Report

0

Threads

3

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 Hong Kong

Post time: 2022-6-20 15:20:08
| Show all posts
Delphi 的每个工程都有一个 *.dproj 文件,实际上为一个 xml 文件。

通过该文件的 ProjectVersion 可以知道其工程的建立所用 IDE 的版本。

----------------------------------------------------------------------------

  Delphi 10 Seattle:    <ProjectVersion>18.1</ProjectVersion>
Reply

Use magic Report

0

Threads

3

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 Hong Kong

Post time: 2022-6-20 15:24:27
| Show all posts
if a .dof file exists -> read [Directories]/Packages

Delphi 3

[Directories]
OutputDir=
UnitOutputDir=
SearchPath=
Packages=VCLX30;VCL30;INETDB30;INET30;
Delphi 5

[Directories]
OutputDir=.
UnitOutputDir=.
PackageDLLOutputDir=.
PackageDCPOutputDir=.
SearchPath=
Packages=Vcl50;Inet50;Inetdb50;Vclx50;Indy50;
Additional info can be finded near end of dof file:

D3:

[Excluded Packages]
C:\Program Files\Borland\Delphi 3\Bin\DCLDSS30.dpl=Delphi Decision Cube Components
C:\PROGRAM FILES\BORLAND\DELPHI 3\BIN\DCLTEE30.DPL=Delphi TeeChart Components
D5:

[Excluded Packages]
$(DELPHI)\Bin\CorIde50.bpl=Borland Core IDE Package
$(DELPHI)\Bin\direct50.bpl=Borland Direct IDE Package
Reply

Use magic Report

0

Threads

3

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 Hong Kong

Post time: 2022-10-11 18:02:28
| Show all posts
delphi 各个版本编译开关值

{$IFDEF VER80}  - Delphi 1
{$IFDEF VER90}  - Delphi 2
{$IFDEF VER100} - Delphi 3
{$IFDEF VER120} - Delphi 4
{$IFDEF VER130} - Delphi 5
{$IFDEF VER140} - Delphi 6
{$IFDEF VER150} - Delphi 7
{$IFDEF VER160} - Delphi 8
{$IFDEF VER170} - Delphi 2005
{$IFDEF VER180} - Delphi 2006
{$IFDEF VER180} - Delphi 2007
{$IFDEF VER185} - Delphi 2007
{$IFDEF VER200} - Delphi 2009
{$IFDEF VER210} - Delphi 2010
{$IFDEF VER220} - Delphi XE
{$IFDEF VER230} - Delphi XE2
{$IFDEF VER240} - Delphi XE3
{$IFDEF VER250} - Delphi XE4
{$IFDEF VER260} - Delphi XE5



{$IF CompilerVersion >= 18.5}
//some code only compiled for Delphi 2007 and later
{$IFEND}

Delphi XE5  - 26
Delphi XE4  - 25
Delphi XE3  - 24
Delphi XE2  - 23
Delphi XE   - 22
Delphi 2010 - 21
Delphi 2009 - 20
Delphi 2007 - 18.5
Delphi 2006 - 18
Delphi 2005 - 17
Delphi 8    - 16
Delphi 7    - 15
Delphi 6    - 14

Delphi 版本号对照表
原创

超级无敌大懒虫

Pascal笔记

2018/08/12 15:52

阅读数 2.6K

Conditional VER

Product

Product Version

Package Version

VER330

Delphi / C++Builder XE10.3 Rio

26

260

VER320

Delphi / C++Builder XE10.2 Tokyo

25

250

VER310

Delphi / C++Builder XE10.1 Berlin

24

240

VER300

Delphi / C++Builder XE10 Seattle

23

230

VER290

Delphi / C++Builder XE8

22

220

VER280

Delphi / C++Builder XE7

21

210

VER270

Delphi / C++Builder XE6

20

200

VER260

Delphi / C++Builder XE5

19

190

VER250

Delphi / C++Builder XE4

18

180

VER240

Delphi / C++Builder XE3

17

170

VER230

Delphi / C++Builder XE2

16

160

VER220

Delphi / C++Builder XE

15

150

VER210

Delphi / C++Builder 2010

14

140

VER200

Delphi / C++Builder 2009

12

120

VER190

Delphi 2007 for .Net

11

110

VER180 or VER185

Delphi / C++Builder 2007 for Win32

11

110

VER180

Delphi / C++Builder 2006 (Win32 / .Net)

10

100

VER170

Delphi 2005 (Win32 / .Net)

9

90

VER160

Delphi 8 for .Net

8

80

VER150

Delphi 7 (and 7.1)

7

70

VER140

Delphi / C++Builder 6

6

60

VER130

Delphi / C++Builder 5

5

NA

VER125

C++Builder 4

4

NA

VER120

Delphi 4

4

NA

VER110

C++Builder 3

3

NA

VER100

Delphi 3

3

NA

VER93

C++Builder

1

NA

VER90

Delphi 2

2

NA

VER80

Delphi 1

1

NA

VER70

Borland Pascal 7.0

NA

NA

VER60

Turbo Pascal 6.0

NA

NA

VER55

Turbo Pascal 5.5

NA

NA

VER50

Turbo Pascal 5.0

NA

NA

VER40

Turbo Pascal 4.0

NA

NA

VER30

Turbo Pascal 3

NA

NA

VER20

Turbo Pascal 2

NA

NA

VER10

Turbo Pascal 1

NA

NA

Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list