Delphi IDE 不可见 [英] Delphi IDE is not visible

查看:10
本文介绍了Delphi IDE 不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我双击desktop上的Delphi图标,但是IDE没有出现.查看 Task Manager 列表,BDS.exe 出现在 Processes 列表下,而它应该出现在 Applications列表.有谁知道为什么会这样?注意:我当前使用的 IDE 版本是 XE3,但也安装了 2010 版本,其行为方式相同.Windows 版本为 8.1.非常感谢任何帮助.

I double click the Delphi icon on the desktop, but the IDE does not show up. Looking into the Task Manager list, the BDS.exe appears under the Processes list, while it should appear under the Applications list. Has anyone any idea why this is happening? Note: the IDE version I'm currently using is XE3, but the 2010 version, wich is also installed, behaves the same way. Windows version is 8.1. I really appreciate any help.

推荐答案

经常发生这种情况是因为您安装了性能不佳的第三方组件,或者您将 IDE 设置为在打开最后一个项目时加载并且由于某种原因它不能这样做.

Often this happens because you've got either a poorly behaving third-party component installed, or you've set the IDE to load the last project when it opens and it can't do that for some reason.

有一些事情可以帮助解决这个问题;它们涉及临时编辑 Delphi 的快捷方式(当然,或者创建一个新的快捷方式并对其进行修改).

There are a few things that can help resolve this; they involve editing the shortcut to Delphi temporarily (or creating a new shortcut and modifying it instead, of course).

  • 编辑快捷方式,在命令行中添加-np参数;它告诉 IDE 在启动时不要加载项目.如果可行,您可以尝试打开您的项目.如果 IDE 再次挂起,请将您的 .dproj 文件重命名为不同的扩展名,然后仅使用 .dpr 打开它;IDE 将创建一个新的 .dproj 文件;

  • Edit the shortcut and add the -np parameter to the command line; it tells the IDE to not load a project on startup. If this works, you can try opening your project. If the IDE hangs again, rename your .dproj file to a different extension and open it with just the .dpr; the IDE will create a new .dproj file;

如果以上方法不行,再次编辑快捷方式,去掉-np,换成-rFoo.这告诉 IDE 在启动时从注册表加载 Foo 配置,而不是正常的 Delphi 配置.(Foo 不存在,因此 IDE 将在注册表中创建一个名为 Foo 的全新配置,没有安装任何第三方组件和所有默认设置用于文件夹和选项.)如果可行,您可以一次重新安装一个第三方组件集以识别问题包,然后编辑注册表以将其从正常的 Delphi 配置中删除.

If the above doesn't work, edit the shortcut again, remove the -np, and replace it with -rFoo. This tells the IDE to load the Foo configuration from the registry on startup instead of the normal Delphi configuration. (Foo doesn't exist, so the IDE will create an all-new configuration in the registry named Foo, with no third-party components installed and all of the default settings for folders and options.) If this works, you can reinstall your third-party component sets one at a time to identify the problem package, and the edit the registry to remove it from your normal Delphi configuration.

注意:上面第二个要点中的 Foo 只是一个名称.它没有特殊含义;它只是通常用作虚拟类型或变量内容的东西.该参数可以设置为 Delphi 注册表设置中尚未作为配置存在的任何内容;BarDummyZombie 也可以.

Note: Foo in the second bullet point item above is just a name. It has no special meaning; it's just something that's commonly used as a dummy type or variable content. The parameter can be set to anything that doesn't already exist as a configuration in the Delphi registry settings; Bar, Dummy or Zombie will work just as well.

一旦您尝试了这些(无论它们是否解决了问题),请不要忘记返回删除不再需要的命令行参数.

Once you've tried these (whether they fix the issue or not), don't forget to go back to remove the no longer needed command line parameter.

如果上述方法均无效,则可能需要重新安装.

If none of the above works, a reinstall may be in order.

如果您想尝试重新安装,请卸载现有版本(使用通常的控制面板卸载软件小程序).

If you want to try a reinstall, uninstall the existing version (using the usual Control Panel Uninstall Software applet).

卸载不会删除注册表项,并且新安装会看到它存在并且不会创建新的,因此您需要使用 RegEdit 删除 HKCUSoftwareEmbarcaderoBDS10.0 树(或将其重命名为不同的名称,例如 Old 10.0),然后重新安装 Delphi.(当您使用其他 Delphi 版本时,请确保不使用这些密钥,以免损坏这些安装.仅更改或删除 10.0 树.)

Doing an uninstall does not remove the registry keys, and a new install will see it exists and not create a new one, so you'll need to use RegEdit to delete the HKCUSoftwareEmbarcaderoBDS10.0 tree (or rename it to something different like Old 10.0), and then reinstall Delphi. (As you're using other Delphi versions, make sure you leave those keys alone so you don't damage those installs. Only alter or delete the 10.0 tree.)

这篇关于Delphi IDE 不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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