开发者

How to install TMS Component Pack 6.0 in Delphi XE2?

开发者 https://www.devze.com 2023-04-06 17:32 出处:网络
What has to be change in order to install them succesfully 开发者_JS百科in DelphiXE2I\'m pretty sure I just logged into their site, downloaded their installer, and it installed.

What has to be change in order to install them succesfully 开发者_JS百科in DelphiXE2


I'm pretty sure I just logged into their site, downloaded their installer, and it installed.

From their site:

Embarcadero released the new RAD Studio XE2! TMS Component Pack is ready for Delphi XE2 & C++Builder XE2. Active registered users can download the latest version v6.1.5.0 now that supports the new XE2 IDE's.


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.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号