LockBox for Delphi-XE

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

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

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.


another method:

Installation Problem with Delphi XE


I can not compile. The Installation program fails with this error:

......................
Will now attempt to execute 10 jobs.
Cmd: De-installing the design-time package dclTP_LockBox3.dpk with compiler Delphi XE
Diag: Job completed ok.
Cmd: Configuring TP_LockBox3.dpk in preparation for compilation.
TP_LockBox3.dpk:
Compiler = Delphi XE
Type = Package (BPL output)
RunTime = True
DesignTime = False
Description = 'TurboPower LockBox 3 run-time package'
Project directory = "D:\DelphiTools\LockBox3\packages\DXE"
BPL suffix = _dXE
BPL output dir = "D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl"
Include directories = D:\Users\Alfonso\Documents\Borland Studio-Projekte\Inc
DCP output dir = "D:\DelphiTools\LockBox3\Compiled"
DCU output dir = "D:\DelphiTools\LockBox3\Compiled"
Diag: Job completed ok.
Cmd: Compiling package TP_LockBox3.dpk with compiler Delphi XE.
Embarcadero Delphi für Win32 Compiler-Version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.

TP_LockBox3.dpk(82) Warnung: W1007 Unit 'uTPLb_OpenSSL' ist experimentell
25067 Zeilen, 0.14 Sekunden, 213828 Byte-Code, 16072 Byte-Daten.
Diag: Job completed ok.
Cmd: Configuring dclTP_LockBox3.dpk in preparation for compilation.
dclTP_LockBox3.dpk:
Compiler = Delphi XE
Type = Package (BPL output)
RunTime = False
DesignTime = True
Description = 'TurboPower LockBox 3 design-time package'
Project directory = "D:\DelphiTools\LockBox3\packages\DXE"
BPL suffix = _dXE
BPL output dir = "D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl"
Include directories = D:\Users\Alfonso\Documents\Borland Studio-Projekte\Inc
DCP output dir = "D:\DelphiTools\LockBox3\Compiled"
DCU output dir = "D:\DelphiTools\LockBox3\Compiled"
Diag: Job completed ok.
Cmd: Compiling package dclTP_LockBox3.dpk with compiler Delphi XE.
Embarcadero Delphi für Win32 Compiler-Version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.

dclTP_LockBox3.dpk(32) Schwerwiegend: E2202 Package 'TP_LockBox3_DXE' wird benötigt, konnte aber nicht gefunden werden
Diag: Job "Compiling package dclTP_LockBox3.dpk with compiler Delphi XE." failed!
Cmd: Erasing temporary configuration files.
Diag: Job completed ok.
At least one job failed. Processing of remaining jobs aborted.


method:

It looks like the run-time package was compiled ok, but when it came to compiling the design-time package, the compiler could not find the dependant run-time package.

Is your BPL directory ("D:\Users\Alfonso\Documents\Borland Studio-Projekte\Bpl") on the system PATH? (This is required.)
After the run-time package is compiled using the automated installer, look in the BPL directory. What is the file-name of the run-time package? Is it TP_LockBox3_DXE.bpl or TP_LockBox3_DXE_DXE.bpl?

Faithfully,
Sean.


最终问题其实是:编译成功,并且编译的 BPL 出现在 DELPHI IDE 设置的 BPL 目录里面了,但 DELPHI 提示找不到 BPL 文件!因此在编译时提示错误,错误信息是找不到 BPL 文件。

  DELPHI 设置的 BPL 目录是:C:\Users\Public\Documents\RAD Studio\9.0\Bpl  。(delphi xe2)

 最后,直接设置 LockBox 3 工程的 Option  里面的输出BPL目录为工程的当前目录,而非上述 DELPHI 指定的目录,结果编译和安装成功。



line:http://lockbox.seanbdurkin.id.au/tiki-view_forum_thread.php?comments_parentId=249&topics_offset=11

        http://lockbox.seanbdurkin.id.au/tiki-view_forum_thread.php?comments_parentId=321


转自:http://stackoverflow.com/questions/4080825/is-there-a-version-of-lockbox-for-delphi-xe

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值