0

为了在 DelphiXE2 中成功安装它们必须进行哪些更改

4

2 回答 2

3

我很确定我刚刚登录了他们的网站,下载了他们的安装程序,并安装了它。

从他们的网站:

Embarcadero 发布了新的 RAD Studio XE2!TMS 组件包已准备好用于 Delphi XE2 和 C++Builder XE2。活跃的注册用户现在可以下载支持新 XE2 IDE 的最新版本 v6.1.5.0。

于 2011-09-20T15:49:11.947 回答
2

I haven't tested it, but (assuming you have the source for the components) you should be able to open tmsdefs.inc and add the following for XE2 support:

{$IFDEF VER230}  // Delphi XE2; use VER220 for XE
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHI2006_LVL}
  {$DEFINE DELPHI2007_LVL}
  {$DEFINE DELPHI_UNICODE}
  {$IFDEF CLR}
    {$DEFINE TMSDOTNET}
  {$ENDIF}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

Then recompile the TMS packages, runtime first, design packages last.

If you don't have the source, you'll have to purchase a new version. .dcu files aren't (and have only once been) compatible across compiler versions. (The one exception, IIRC, was Delphi 6 to Delphi 7.)

于 2011-09-20T16:40:15.263 回答