简体   繁体   English

有谁知道,Delphi 7在哪里缓存DCU文件?

[英]Does anyone knows, where Delphi 7 caches the DCU files?

I have had an older version of Eldos SecureBlackBox installed. 我安装了旧版本的Eldos SecureBlackBox。 Now I deinstalled it and installed the latest version. 现在我卸载它并安装了最新版本。 Unfortunately Delphi caches the old DCU file, so I can not use the new property from the new dcu file. 不幸的是Delphi缓存旧的DCU文件,所以我不能使用新的dcu文件中的新属性。

Does anyone knows, where Delphi 7 caches the DCU files? 有谁知道,Delphi 7在哪里缓存DCU文件? What I have to clear, that the new DCU file is loaded? 我需要清楚的是,新的DCU文件是否已加载?

I have tried clean up with CCLeaner, but without success. 我试过用CCLeaner清理,但没有成功。 Thanks 谢谢

Walter 沃尔特

Delphi doesn't "cache DCU files" except in memory when it's compiling. Delphi在编译时不会“缓存DCU文件”,除了内存。

If you have new properties that you can't access in the new components, you haven't properly uninstalled the old ones, and the IDE is getting its information from the old designtime/runtime packages. 如果您在新组件中无法访问新属性,则表示尚未正确卸载旧组件,IDE将从旧的设计时/运行时包中获取其信息。

You need to properly remove the old packages and dcus before installing the new ones, and then properly install the new packages into the IDE. 在安装新软件包之前,需要正确删除旧软件包和dcus,然后将新软件包正确安装到IDE中。 The DCUs by default are installed in the SecureBlackBox\\Sources folder after installation (they're created there when the packages are compiled and installed). 默认情况下,DCU在安装后安装在SecureBlackBox\\Sources文件夹中(它们是在编译和安装软件包时在那里创建的)。

You may also need to remove the compiled package files (.dpc) from your computer before installing the new ones. 在安装新的软件包之前,您可能还需要从计算机中删除已编译的软件包文件(.dpc)。 Search your computer for *.dcp files; 在计算机中搜索*.dcp文件; you should find several of them related to SecureBlackBox in your My Documents folder. 你应该在你的My Documents文件夹中找到几个与SecureBlackBox相关的内容。 They should be removed before installing the new versions as well. 在安装新版本之前,应该删除它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM