delphi2007

以下是为您整理出来关于【delphi2007】合集内容,如果觉得还不错,请帮忙转发推荐。

【delphi2007】技术教程文章

问题-[delphi2007、2010]无法二次启动,报EditorLineEnds.ttr被占用,进程一直有bds.exe?

问题现象:delphi2007、2010无法二次启动,报EditorLineEnds.ttr被占用,而且进程中一直有bds.exe的进程?问题原因:问题处理:方法一:可能是系统更新的东东造在的。KB2970228和KB2982791。KB2970228和KB2976897。KB2993651。 方法二:实在没法了,就用批处理吧。@echo offset NewFileName="%TEMP%\%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%.tmp"MOVE %TEMP%\EditorLineEnds.ttr %NewFileName%start "...

Delphi 设计模式:《HeadFirst设计模式》Delphi2007代码---单例模式之ChocolateBoiler[转]【图】

1 2{《HeadFirst设计模式》之单例模式 } 3{ 编译工具: Delphi2007 for win32 } 4{ E-Mail : guzh-0417@163.com } 5 6unit uChocolateBoiler; 7 8interface 910type11 TChocolateBoiler = class(TObject)12 strict private13 class var14 FUniqueInstance: TChocolateBoiler;15 strict private16 FEmpty : Boolean;17 FBoiled: Boolean;18 constructor Create;19 public20 class function GetInstance: TC...

Delphi 设计模式:《HeadFirst设计模式》Delphi2007代码---组合模式之Menus[转]【图】

1 2{《HeadFirst设计模式》之组合模式 } 3{ 组合与单项的抽象父类 } 4{ 编译工具:Delphi2007 for win32} 5{ E-Mail :guzh-0417@163.com } 6 7unit uMenuComponent; 8 9interface1011uses12 SysUtils;1314type15 TMenuComponent = class abstract(TObject)16 public17 procedure Add(aMenuComponent: TMenuComponent); virtual;18 procedure Remove(aMenuComponent: TMenuComponent); virtual;19 functio...

问题-Delphi2007跟踪变量时提示“E2171 Variable 'APolygon' inaccessible here due to optimization”

Delphi2007跟踪变量时提示“E2171 Variable ‘APolygon‘ inaccessible here due to optimization” 。 问题原因:可能是因为Delphi优化。 问题处理: 方法1:工程->右击->Opitons->Compiler->Code generation->Optimization->去掉对号。 方法2:在变量方法最后再调用一下变量,这样变量就不会在方法结束前优化掉了。 问题-Delphi2007跟踪变量时提示“E2171 Variable APolygon inaccessible here due to optimization”...

DELPHI - 相关标签