Delphi XE:丢失库路径 [英] Delphi XE : Lost Library path

查看:1353
本文介绍了Delphi XE:丢失库路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



现在,即使是一些简单的应用程序也无法编译。



有没有办法恢复库路径中丢失的目录条目?



编辑:我发现一个令人惊讶的解决方案,这个问题,只需删除这个注册表项:



HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0\Library



并重新启动Delphi,然后重新生成注册表中的密钥,使用正确的默认值,但您将丢失任何第三方,至少现在它正在运行!



我希望对于有同样问题的任何人都很有用:)

解决方案

我尝试了上面的删除reg路径(保存到一个文件后),没有去。



然后我注意到库中有一个下拉列表记住以前对整个路径的更改的路径。设置它(和所有其他记住的)回一两步,一切编译。



Sooo,然后我重新导入了原来不好看的差异。在最上面的一行



$(BDSLIB)\ $(Platform)\release

$(Platform)\release (在不正确的版本)



修改为具有全部的一切都是好的。
$(BDSLIB)\ $(Platform)\release



我希望这是因为安装程序将它们删除并重建,但将其视为两条线而不是一条。



Scotto Unwise
(获取胜利的拼写检查)


I have lost most of my Library Path in Delphi XE after upgrading from Delphi 2010,

Now even some simple app will fail to compile.

Is there any way to recover those lost directory entries that were in the library path?

EDIT: I found a surprising solution to this problem, just delete this registry key:

HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0\Library

and restart Delphi, then the key in the registry will be generated again with the correct default values but you'll lose any third parties there, at least now it's working!

I Hope it's useful for anyone that is having the same problem :)

解决方案

For me this happened after installing VirtualTreeview 4.8.7 (? 5?) in Delphi XE under win7X64. I tried the delete reg path above (after saving it off to a file) and no go.

Then I noted that there was a dropdown in the library path that remembered previous changes to the whole path. Set it (and all the other remembered ones) back a step or two and everything compiled.

Sooo, then I reimported the originally bad one watching for differences. Right there in the topmost line

$(BDSLIB)\$(Platform)\release was $(Platform)\release (in the incorrect version)

Modified to have the full line in and all is well. $(BDSLIB)\$(Platform)\release

I expect this is because the installer strips these out and rebuilds them, but treats this as two lines instead of one.

Scotto the Unwise (spellcheck for the win)

这篇关于Delphi XE:丢失库路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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