Delphi IDE不可见 [英] Delphi IDE is not visible
问题描述
我双击桌面
上的 Delphi
图标,但双击 IDE
不显示。查看任务管理器
列表, BDS.exe
出现在进程$下c $ c>列表,而该列表应显示在
Applications
列表下。有谁知道为什么会这样?注意:我当前使用的 IDE
版本是 XE3
,而 2010
版本(也已安装)的行为相同。 Windows版本是8.1
。我真的非常感谢您的帮助。您已将IDE设置为在打开最后一个项目时加载它,由于某种原因它无法执行该操作。
有一些方法可以帮助解决此问题;它们涉及临时编辑Delphi的快捷方式(或者创建新的快捷方式,当然也可以对其进行修改)。
-
快捷方式并将
-np
参数添加到命令行;它告诉IDE在启动时不要加载项目。如果可行,您可以尝试打开您的项目。如果IDE再次挂起,请将您的.dproj
文件重命名为其他扩展名,然后仅使用.dpr
打开它; IDE将创建一个新的.dproj
文件; -
如果上述方法无效,请进行编辑再次使用快捷方式,删除
-np
,然后将其替换为-rFoo
。这告诉IDE在启动时从注册表中加载Foo
配置,而不是常规的Delphi
配置。 (Foo
不存在,因此IDE将在名为Foo
的注册表中创建一个全新的配置,其中包含如果没有安装任何第三方组件,并且没有文件夹和选项的所有默认设置。)如果可行,则可以一次重新安装一个第三方组件集,以识别问题包,然后编辑注册表以将其从中删除。您的正常Delphi配置。
注意: Foo
上面的第二个要点只是一个名称。它没有特殊含义;它只是通常用作虚拟类型或可变内容的内容。该参数可以设置为Delphi注册表设置中不存在的任何配置。 Bar
, Dummy
或 Zombie
也可以使用。
一旦您尝试了这些操作(无论它们是否解决了问题),请不要忘记返回以删除不再需要的命令行参数。
p>如果上述方法均无效,则可能需要重新安装。
如果要尝试重新安装,卸载现有版本(使用常用的控制面板卸载软件小程序)。
执行卸载不会删除注册表项,并且新安装会看到它存在并且不创建新的注册表项,因此您需要使用RegEdit进行删除 HKCU\Software\Embarcadero\BDS\10.0
树(或将其重命名为 Old 10.0
),然后重新安装Delphi。 (当您使用其他Delphi版本时,请确保不要理会这些密钥,以免损坏这些安装。只能更改或删除 10.0
树。)
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.
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.
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).
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;If the above doesn't work, edit the shortcut again, remove the
-np
, and replace it with-rFoo
. This tells the IDE to load theFoo
configuration from the registry on startup instead of the normalDelphi
configuration. (Foo
doesn't exist, so the IDE will create an all-new configuration in the registry namedFoo
, 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.
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).
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 HKCU\Software\Embarcadero\BDS\10.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屋!