Delphi XE5无法加载VirtualTreeView组件

Delphi XE5 cannot load VirtualTreeView components

我使用的是 Delphi XE5,多年来我一直在使用 VirtualTreeView 组件。现在 Delphi XE 无法加载它们。此消息出现:

The procedure entry point could not be located in the dynamic link library C:\Users\Public\Documents\RAD Studio.0\Bpl\VirtualTreesD19.bpl

Can't load package C:\Users\Public\Documents\RAD Studio.0\Bpl\VirtualTreesD19.bpl. The specific procedure could not be found.

我从 Delphi 卸载了 VirtualTreeView 并尝试了新的安装,但这没有用。现在我没有 VirtualTreeView。

我没有更改 Delphi 设置,也没有安装任何东西,等等。 Windows10次更新后出现这种情况,不知道是不是我的问题

有人可以帮我解决这个问题吗?谢谢

我想我找到了问题的解决方案:包 VirtualTrees*.bpl 被构建到包的标准文件夹中,例如。 C:\Users\Public\Documents\RAD Studio.0\BplC:\Users\Public\Documents\Embarcadero\Studio.0\Bpl。此文件夹也在系统变量“Path”中。最新版本的路径 od Delphi 在旧版本的路径之前。

我使用了相同版本的 VirtualTree,当然在 Delphi 版本的单独文件夹中,构建包的名称是相同的,它们位于单独的文件夹中(见上文)。但是如果我检查加载的包,我发现 Delphi XE5 已经从 Delphi 11 的路径加载包。因为旧版本的 Delphi 不能与新版本构建的包一起工作,我得到了我的例外。我不明白为什么 Delphi 通过这种方法处理包,但是当我为构建包设置其他路径时,例如.\..\build,然后一切正常。