delphi 2009编译包

发布于 2024-10-21 12:40:21 字数 297 浏览 7 评论 0原文

我真的不明白。

尝试重新编译 qr5 包,对于这个 Delphi 来说是不可能的。

构建 QR5Run_Rad6.bpl,一切都很好。

当我安装 QR5Design_RAD6.bpl 时,出现错误消息

“由于您的计算机中缺少 qr5run_rad.bpl,因此无法运行该程序。请尝试再次安装程序来解决此问题。”

刚刚做了!

clean build 编译不能以任何顺序工作。关闭ide重新打开还是不行。

还剩下什么?

清理所有相关的 dcp 和 bpl

i truly don't get it.

trying to recompile the qr5 packages, and is impossible with this Delphi.

build the QR5Run_Rad6.bpl, everything is fine.

when i install QR5Design_RAD6.bpl an error message appears

"its not possible to run the program since qr5run_rad.bpl is missing in your computer. try again installing your program to solve this problem."

just did!

clean build compile doesn't work in any order. closed the ide and reopened , still doesn't work.

what else is left?

clean all related dcp and bpl

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

拥抱没勇气 2024-10-28 12:40:21

QR5Design_RAD6.bpl>> qr5run_rad.bpl

更重要的是,需要在系统路径上找到 qr5run_rad.bpl 以便 IDE 找到它,以便设计时包可以使用它。

换句话说:您需要构建 qr5run_rad.bpl 以及 QR5Design_RAD6.bpl。并且您需要确保 qr5run_rad.bpl 最终位于系统路径上的文件夹中,而不仅仅是包含源和/或 dcu 的任何旧文件夹。

QR5Design_RAD6.bpl <> qr5run_rad.bpl

And more importantly, the qr5run_rad.bpl needs to be found on the systempath in order for the IDE to find it so it can be used by the design time package.

In other words: you need to build the qr5run_rad.bpl as well as the QR5Design_RAD6.bpl. And you need to make sure that the qr5run_rad.bpl ends up in a folder that is on your system path, not just any old folder where you have the sources and/or dcu's.

网名女生简单气质 2024-10-28 12:40:21

除了 Marjan 所写的之外:

Windows 在寻找DLL(或 BPL,它是一个 DLL):

  1. 加载应用程序的目录。
  2. 系统目录。使用 GetSystemDirectory 函数获取此目录的路径。
  3. 16位系统目录。没有函数获取这个目录的路径,但是会搜索。
  4. Windows 目录。使用 GetWindowsDirectory 函数获取此目录的路径。
  5. 当前目录。
  6. PATH 环境变量中列出的目录。请注意,这不包括应用程序路径注册表项指定的每个应用程序路径。计算 DLL 搜索路径时不使用 App Paths 键。

Delphi 将 BPL 文件放在 C:\Documents and Settings\All Users\Documents\RAD Studio\8.0\Bpl 等目录中,安装 Delphi 时它会添加到您的 PATH 中。对于 Delphi 2009,在 Windows XP 计算机上该路径可能是 C:\Documents and Settings\All Users\Documents\RAD Studio\6.0\Bpl

——杰罗恩

In addition to what Marjan wrote:

Windows uses these places when looking for a DLL (or BPL, which is a DLL):

  1. The directory from which the application loaded.
  2. The system directory. Use the GetSystemDirectory function to get the path of this directory.
  3. The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched.
  4. The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
  5. The current directory.
  6. The directories that are listed in the PATH environment variable. Note that this does not include the per-application path specified by the App Paths registry key. The App Paths key is not used when computing the DLL search path.

Delphi puts BPL files in a directory like C:\Documents and Settings\All Users\Documents\RAD Studio\8.0\Bpl which it adds to your PATH when Delphi is installed. For Delphi 2009, that Path would probably be C:\Documents and Settings\All Users\Documents\RAD Studio\6.0\Bpl on a Windows XP machine.

--jeroen

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文