can not create ...Temp\EditorLineEnds.ttr

打开delphi2010时,出现了can not create ...Temp\EditorLineEnds.ttr。
在国外论坛找到原因及解决方案:

原因:升级了windows的补丁KB2993651, kb:2982791 , kb:2970228,导致EditorLineEnds.ttr生成所在的文件夹无法被修改,固而出错!(此错误好像XE6不会发生,可能Delphi调整了方式吧!)

解决方案:
卸载以上补丁(在命令行运行以下命令)
wusa /uninstall /KB:2993651
wusa /uninstall /kb:2982791
wusa /uninstall /kb:2970228
同时在windows更新中,禁止这些(及最新的KB开头)的更新补丁, 防止再次安装了更新。

重启电脑,解决!


LEO原创,转载请注明, qq: 1505250187

国外论坛解决方法原文:
With a new windows update Delphi 2007 to Delphi 2010 did not start anymore.
you get a error delphi can not create ...Temp\EditorLineEnds.ttr
most important information by microsoft:
http://support.microsoft.com/kb/2982791
Known issues with this security update
After you install this security update, fonts that are installed to a location other than the default fonts directory (%windir%\fonts\) cannot be modified when they are loaded into any active session. Attempts to change, replace, or delete these fonts will be blocked, and a "File in use" message will be presented.
you can rollback easy in two ways
1: create a batch file with following lines
wusa /uninstall /kb:2982791
wusa /uninstall /kb:2970228
this batch file you run on start up of windows. but with auto update both updates installs every time
2: disable the KB's from autoupdate
after update goto WindowsUpdates in your system. disable both KB's so on new updates it will be not installed again
these are only workarounds. with newer Delphi Versions like XE6 this error will not be come. Hope Embarcadero will create a patch for "older" Delphi Versions.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值