http://bbs.2ccc.com/topic.asp?topicid=299031这个地址.
解决方案 »
- dbgrideh3.OnCellClick 提示 Not enough actual parameters
- 怎样把多个图标添加到EXE中?
- delphi【如何实现dll在内存中释放?】
- POST应该怎么写
- 在线等解答 如何获取当前数据库DB的名字
- 如何用Delphi来模拟Flash上传文件的功能?
- 请教!!VC的表达式转换delphi的问题!!
- 问个简单的问题:在winxp/delphi7下如何实现用enter代替tab功能?
- 怎么判断 192.168.0.1的服务器上的sql server有没有运行
- Maiform的错误?急!!急!!!急!!!!
- 多线程资源的释放问题
- webbrowser打开页面后如何获取其中的文字
很郁闷!
安装步骤:
1.Setup.exe
2.dbpack_setup.exe
3.Delphi2009Cr.exe
4.因抱住一试的心态,帮助暂不安装.感觉:很好很强大.
下载应用下载工具,将所有列表保存为下载列表文件.
注意:
microsoft mdac 2.81.7zip
microsoft windows installer 3.0.7zip
microsoft internet explorer 6.7zip
microsoft jsharp runtime 2.0.7zip
以上几个文件应从以下列表下载:
http://installers.codegear.com/prereq/radstudio/5.0/microsoft mdac 2.81.7zip
http://installers.codegear.com/prereq/radstudio/5.0/microsoft windows installer 3.0.7zip
http://installers.codegear.com/prereq/radstudio/5.0/microsoft internet explorer 6.7zip
http://installers.codegear.com/prereq/radstudio/5.0/microsoft jsharp runtime 2.0.7zip
有的 三个 delphi c++ delphi.net 都有
有的 包含多个语言.
有的只包含 delphi的英文版我下的24楼提供的网盘下载
type
TFunc = reference to function(x: Integer): Integer;procedure TForm1.Button1Click(Sender: TObject);
var
i, v: Integer;
proc: TFunc;
begin
proc := function(x: Integer): Integer
begin
Result := x * x;
end; ShowMessage(IntToStr(proc(5)));
end;
type
TProc = reference to function(const x): string; TMyClass<T> = class
private
FValue: T;
public
procedure Show(Proc: TProc);
property Value: T read FValue write FValue;
end;{ TMyClass<T> }procedure TMyClass<T>.Show(Proc: TProc);
begin
ShowMessage(Proc(FValue));
end;procedure TForm1.Button1Click(Sender: TObject);
var
IntObj: TMyClass<Integer>;
floatObj: TMyClass<Single>;
begin
IntObj := TMyClass<Integer>.Create;
IntObj.Value := 100;
IntObj.Show(function(const x): string
begin
Result := IntToStr(Integer(x));
end);
IntObj.Free; floatObj := TMyClass<Single>.Create;
floatObj.Value := 12.340;
floatObj.Show(function(const x): string
begin
Result := floatToStr(Single(x));
end);
floatObj.Free;
end;
我用也是有很多BUG
请参考:http://bbs.2ccc.com/topic.asp?topicid=301181