解决Delphi 2010启动时出现cannot create xxxx\EditorLineEnds.ttr问题

由于在Windows安装了最近的更新(KB2982791, KB2970228)后,Delphi的IDE需要创建的一个文件%TEMP%\EditorLineEnds.ttr会被系统锁定,导致除非重新启动操作系统,否则Delphi 8~2010无法启动两次。

Delphi的IDE在启动时提取了一个字体资源到%TEMP%\EditorLineEnds.ttr,然后使用AddFontResource函数将其加载,并且在IDE的析构代码中释放它。但在最近的Windows更新中,由于一些安全方面的原因,微软限制了RemoveFontResource函数解锁这个文件。如果第二次启动IDE,提取字体资源的操作会失败并导致IDE被异常终止。

如果你使用了IDEFixPack 2.7以上版本,则不会受到这个问题的影响。IDEFixPack会阻止IDE调用AddFontResource函数以避免锁定这个文件(这个补丁也可以解决安装了Adobe Type Manager之后的性能问题)

如果是第一次安装IDEFixPack,则可能需要重新启动系统——当这个文件已经被锁定的时候。

下载链接:

IDEFixPack for 2009或更新版本

IDEFixPack for 2006/2007

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
IDE Fix Pack 6.1.1 for RAD Studio 2009,2010,XE,XE2,XE3,XE4,XE5,XE6,XE7,XE8,D10,D101,D102 IDE Fix Pack is a collection of unofficial bug fixes and performance optimizations for the RAD Studio IDE, Win32/Win64/Andoird-ARM compiler and Win32 debugger. ------ Installation: 1. Start IDEFixPackRegXxx.exe under your user account 2. Select the IDE registry keys for which you want to install the bugfix 3. Press the “Install” button Uninstall: 1. Start IDEFixPackRegXxx.exe under your user account 2. Press the “Uninstall” button. This will uninstall the bugfix for all (not only the selected) IDE registry keys. ------ Changed from 6.1 to 6.1.1 (2017-10-30) Fixed: -x-fvs (fast interface virtual stub) ECX usage detection failed for some record return types. Changed from 6.0 to 6.1 (2017-10-29) Added: Option -x-ff to enable “fast floating point” (like Borland C++’s -ff command line option) Added: Option -x-fvs and -x-fvs=n to enable fast interface virtual stub (n=1: replace XCHG, n=2: keep the CPU’s return stack buffer in order) Added: Option -x-fpr to remove XCHG from the function prolog code. Added: DLL import table section folding and duplicate name/ordinal elimination, also for delay dll imports Changed: Split “Compiler64.X86” patch into multiple smaller patches and removed the “Compiler64.X86” patch name Changed: EditorFocusFix now skips the SetActiveWindow call if the mainform (undocked) is not the active window Changed from 5.96 to 6.0 (2017-09-28) Added: Win64 compile speed optimizations Added: Delphi 10.2 Update 1 support Added: Editor Block Completion UTF8 fix (Delphi 2009 only) Changed from 5.95 to 5.96 (2017-04-09) Fixed: Disable DynArraySetLength patch if 10.1 Berlin Update 2 is detected. Fixed: “clang template debug symbol bloat” disabled for 10 Seattle and newer. Added: IDE minimize doesn’t shrink main window to width and height zero. Added: RAD Studio 10.2 support (RTM only)
Changelog: ========== 2015-04-23 (5.91) - Fixed: IDEFixPack didn't take into account that DB.TFlatList uses late loading through GetCount - Fixed: fastdcc32/64/aarm in XE7 and XE8 didn't load the CompilerSpeedPack into the compiler's process 2015-04-21 (5.9) - Added: Fix for QC 71270, 76338 and 76379. "CodeInsight doesn't like the underscore." - Added: TStringList.IndexOfName optimization - Fixed: FieldAddress optimization could fail if a published field name was also used in an ancestor 2015-02-15 (5.8) - Added: Compiler cleanup code performance optimization for large packages - Added: If XE7's rlink32.dll is detected in older Delphi versions the "too many resources to handle" patch is skipped - Changed: Installer/Uninstaller doesn't require rtl.bpl/vcl.bpl in the PATH anymore - Improved: IDE Fix Pack StringLists use CompareStringOrdinal instead of CompareString 2014-09-16 (5.71) - Improved: EditorLineBreak.ttr patch not only prevents the file loading but also deletes/renames the existing file 2014-08-25 (5.7) - Added: TObject.FieldAddress optimization for DFM loading - Added: Fix for QC 111917: RLINK32: Too many resources to handle. Instead of 3626 it can now handle 65534 resource items - Added: String function replacements without STRINGCHECKS - Added: Fix for "class operator In" class completion - Added: IDEFixPackReg*.exe supports command line parameter /EXTRACT that extracts the files instead of installing them - Added: Disable creation of EditorLineEnd.ttr 解决 EditorLineEnd.ttr 占用问题

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值