Delphi xe2 (RAD studio xe2/delphi16) Beta trial (2)

Source: Internet
Author: User

The command for compiling this version is ver230.

Many unit names are similar to C # And use multi-level methods, such:

System. sysutils,
System. typinfo,
System. types,
System. classes,

Generally, a livebindings attribute is added to the component to automatically display data sources and reduce manual code writing.

In the soap section, invrules. PAS does not exist. The gettypesize function can be used directly without it. However, two local functions are found in soap. invokeregistry. PAS and soap. optosoapdomconv. PAS:

Soap. invokeregistry. Pas

  function GetTypeSize(Info: PTypeInfo): Integer;  var    Context: TRttiContext;    Typ: TRttiType;  begin    if (Info = TypeInfo(Variant)) or (Info = TypeInfo(OleVariant)) then      Exit(SizeOf(TVarData));                                                    Result := SizeOf(Pointer);    Typ := Context.GetType(Info);    if Assigned(Typ) then      Result := Typ.TypeSize;  end;

Soap. optosoapdomconv. Pas

function GetTypeSize(Info: PTypeInfo): Cardinal;varContext: TRttiContext;Typ: TRttiType;begin  if Info = TypeInfo(Variant) then    Exit(SizeOf(TVarData));                                                  Result := SizeOf(Pointer);  Typ := Context.GetType(Info);  if Assigned(Typ) then     Result := Typ.TypeSize;end;

It seems that there is no good uniformity.

This error occurs during compilation when I upgrade the old program: [DCC fatal error] f2084 internal error: c13716

It can only be restarted, but it can be quickly disabled. It may not be an elegant way to unmount BPL by one.

The "open file at cursor" in the code editing window is incorrect. The classes unit reference in the old Code is not changed to system. classes, which can be compiled, but "open file at cursor" cannot find the file. In addition, Even files already in the library paths folder cannot be found.

In Windows. Pas, the function signature has changed. The last parameter is DWORD. Now it is changed to nativeuint:

Function writeprocessmemory (hprocess: thandle; const lpbaseaddress: pointer; lpbuffer: pointer;
Nsize: size_t; var lpnumberofbyteswritten: size_t): bool; stdcall;

Size_t = ulong_ptr;

Ulong_ptr = nativeuint;

Let's take a look at the handling of several bugs or suggestions:

1,Generate idudpserver. onudpread event raise "Expected '>' But '. 'found"

Http://qc.embarcadero.com/wc/qcmain.aspx? D = 89662

The bug in delphi15 has not been fixed yet. They are not flattering in their attitude towards the bug. If win64, IOS, etc. are running naked all the way, no one will get a bid?

2,Make registered file formats accessible

Http://qc.embarcadero.com/wc/qcmain.aspx? D = 71373

This suggestion is still ignored.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.