您的位置:首页 > 编程语言 > Delphi

Delphi 7 和 Delphi 2007/2009/2012(XE3) 的区别

2013-04-17 14:03 225 查看
Delphi 7   Delphi 2007/2009/2012(XE3)
版本历史Delphi 2007 (Delphi 11), the first version byCodeGear, was released on March 16, 2007.

 

Delphi 2009 (Delphi 12,),the first version byEmbarcadero,

added UnicodeString data type, completely reworking the VCL and RTL for fullUnicode support,

added generics and anonymous methods for Win32 native development.

 

Delphi XE3,  was released on September 4, 2012. 

Firemonkey + 64Bit 

編譯器方面Unicode

generics and anonymous methods

a new compiler
RTTI system

namespace 

 

AFX方面Firemonkey

 

 

IDE方面代码折叠/展开功能

 

支持平台

 

No .NET

support for Windows 7 direct 2D

64-bit Windows

Mac OS X

 

 

  
  
  
  
 

 

(1)枚举

Delphi 7

ONLY

MessageDlg('hello',mtError,[mbYes],0);

 

Delphi XE3

MessageDlg('hello',TMsgDlgType.mtError,[mbYes],0);

AND

MessageDlg('hello',mtError,[mbYes],0);

 

(2)字符串

相同點:

D7          ShortString,AnsiString,WideString

XE3        ShortString,AnsiString,WideString,UnicodeString

D7和XE3的string[100]都表示ShortString。

 

差異點:

D7         string表示AnsiString

XE3       string表示UnicodeString
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: