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.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章