Delphi2009正式发布,开始接受预订。
http://hi.baidu.com/frogappear/blog/item/4a5fefcc1fabfd1601e9289f.html

解决方案 »

  1.   

    期待ing,不过偶得电脑配置太低了,可能无法体验
      

  2.   

    据说Delphi2009要装.net framework
      

  3.   

    想用D2009?
    就这么简单
    当然你得找Pre那个版本的SLIP来安装正式版,然后@#$%^&一下,哈哈0040E899   . /0F84 C6020000 je      0040EB65
    必须JMP

    0040EBB1   . /75 1F         jnz     short 0040EBD2
    不跳,即可
      

  4.   

    呵呵,Delphi2009的泛型类和匿名函数测试? 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;