是否有适用于Delphi-XE的LockBox版本 [英] Is there a version of LockBox for Delphi-XE
本文介绍了是否有适用于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.
- 从SVN下载。我将把基本目录称为
tplockbox
。 - 转到
tplockbox / trunc / packages
目录。将d2010
目录内容复制到名为XE
的新目录。 - 重命名
TP_LockBox_d2010.grouproj
到TP_LockBox_XE.groupproj
- 打开它,右键单击
TP_LockBox3_d2010.bpl
,转到选项,将LIB后缀从描述部分更改为_XE
。 - 对
dclTP_LockBox3_d2010.bpl
项目执行相同操作 - 调整所有项目的输出路径和目录。我不记得我是否全面改变了这个。
- 构建并安装
TP_LockBox3_XE.bpl
和dclTP_LockBox3_XE.bpl
包。
- Download from SVN. I'll refer to the base directory as
tplockbox
. - Go to the
tplockbox/trunc/packages
directory. Copy thed2010
directory contents to a new directory namedXE
. - Rename
TP_LockBox_d2010.grouproj
toTP_LockBox_XE.groupproj
- Open it, right click
TP_LockBox3_d2010.bpl
, go to Options, change "LIB suffix" from the Description section to_XE
. - Do the same for the
dclTP_LockBox3_d2010.bpl
project - Adjust output paths and directories for all projects. I don't remember if I just went ahead and changed this globally.
- Build and install
TP_LockBox3_XE.bpl
anddclTP_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屋!
查看全文