zoukankan      html  css  js  c++  java
  • EditorLineEnds.ttr 错误问题

    安装 Windows Write Live,在线安装,会先安装一个什么补丁,中途提示失败。

    运行Delphi2007,第一次成功,第二次就是 EditorLineEnds.ttr文件错误。

    http://stackoverflow.com/questions/25295980/delphi-2006-2010-error-cannot-create-file-c-users-admin-appdata-local-temp-ed

    There are three solutions to this that I am aware of:

    1. Try uninstalling the Windows security update KB2982791 which was already mentioned by Francisco Caffagni. This solved the issue for me (Windows 8.1 + Delphi 2007) but it might not be such a good idea to uninstall a Windows security update. 卸载安全更新,但是不推荐。
    2. Rename the file every time you start Delphi. See below for a simple program that does it for you.每次启动Delphi时重新命名这个文件。
    3. Use Andreas Hausladen's IdeFixpack (Delphi 2007 version, beware that version 4.4 does not work under Windows 8, version 4.3 seems to work), (for later Delphi versions) Note that the editor option Show Lineends will use a different character if you use this fix because the IDE won't load the EditorLineEnds.ttr font any more. (Solution 1 and 2 don't have this drawback, but who uses that option anyway?)使用 IDE FIX包,注意4.4版本不支持win8,4.3版本好像可以。注意,编辑器选项 显示 为 一个不同的字符,假如你使用这个 修正的话,因为 IDE 不会加载 这个*.ttr字体。 方法1和2没有这个缺点,但是谁会使用那个选项呢?

    Note: Microsoft withdrew this fix a few days later and issued a new one KB2984615 on 2014-08-27. Unfortunately this did not fix the issue for me. Maybe uninstalling KB2982791 first and then installing KB2984615 might work, but I haven't tried it.

    说明,微软 撤回这个补丁 几天以后,并且在2014-08-27发布了一个新的补丁。不幸的是,这个没有修复我的问题。

    I wrote a simple program, that solves the issue for me:

    It uses FindFirstChangeNotification / FindNextChangeNotification and checks whether that file exists and if yes, moves it to a unique subdirectory in %temp%.

    检测那个文件是否存在,如果存在的话,把它移动到系统临时文件夹下的一个唯一的子目录。

    Binary download

    http://sourceforge.net/projects/dzeditorlineendsfix/

    The source code is available from sourceforge.

    http://qc.embarcadero.com/wc/qcmain.aspx?d=126921

    http://edn.embarcadero.com/article/44076?utm_source=twitterfeed&utm_medium=twitter

  • 相关阅读:
    windows CMD大全
    算法导论(一):渐进记号
    数据结构之树
    Python读取文件内容与存储
    Python绘图的颜色设置
    Python中多个列表与字典的合并方法
    Pandas之Dataframe叠加,排序,统计,重新设置索引
    数据挖掘——聚类算法(一)
    WPF学习————制作时钟
    Opencv Sharp 基于灰度模板的多目标匹配
  • 原文地址:https://www.cnblogs.com/CodeGear/p/4137563.html
Copyright © 2011-2022 走看看