是否有适用于Delphi-XE的LockBox版本 [英] Is there a version of LockBox for Delphi-XE

查看:216
本文介绍了是否有适用于Delphi-XE的LockBox版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到Delphi-XE的LockBox版本

where can I find a version of LockBox for Delphi-XE

推荐答案

您可以使其正常工作。这不是很难。

You can make it work. It is not that hard.


  1. 从SVN下载。我将把基本目录称为 tplockbox

  2. 转到 tplockbox / trunc / packages 目录。将 d2010 目录内容复制到名为 XE 的新目录。

  3. 重命名 TP_LockBox_d2010.grouproj TP_LockBox_XE.groupproj

  4. 打开它,右键单击 TP_LockBox3_d2010.bpl ,转到选项,将LIB后缀从描述部分更改为 _XE

  5. dclTP_LockBox3_d2010.bpl 项目执行相同操作

  6. 调整所有项目的输出路径和目录。我不记得我是否全面改变了这个。

  7. 构建并安装 TP_LockBox3_XE.bpl dclTP_LockBox3_XE.bpl 包。

  1. Download from SVN. I'll refer to the base directory as tplockbox.
  2. Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory named XE.
  3. Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj
  4. Open it, right click TP_LockBox3_d2010.bpl, go to Options, change "LIB suffix" from the Description section to _XE.
  5. Do the same for the dclTP_LockBox3_d2010.bpl project
  6. Adjust output paths and directories for all projects. I don't remember if I just went ahead and changed this globally.
  7. Build and install TP_LockBox3_XE.bpl and dclTP_LockBox3_XE.bpl packages.

如果你想要测试用例工作,你会有修改 tplockbox / trunc / test / uLockBox_TestCases.pas 文件。对于旧版本的DUnit,有一些硬编码检查,而不是Delphi XE附带的。您可以评论这些支票。

If you want the test cases to work, you'll have to modify the tplockbox/trunc/test/uLockBox_TestCases.pas file. There are some hard coded checks for an older version of DUnit than the one that comes with Delphi XE. You can just comment out these checks.

这篇关于是否有适用于Delphi-XE的LockBox版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆