Delphi XE8 Patch (rev 3633)

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
cacofony
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 06.12.2006, 15:24
Location: Perth - Western Australia
Contact:

Delphi XE8 Patch (rev 3633)

Post by cacofony »

SVN patch attachment

New XE8 Packages
Changes to ZEOS.INC
Change to compile error for ZVariant

+++ src/core/ZVariant.pas (working copy)
@@ -2492,7 +2492,13 @@
vtAnsiString:
Result.VUnicodeString := ZWideString(Value.VAnsiString);
vtUTF8String:
+ begin
+ {$IFDEF VER290}
+ Result.VUnicodeString := ZRawToUnicode(Value.VUTF8String, Length(Value.VUTF8String));
+ {$ELSE}
Result.VUnicodeString := ZRawToUnicode(Pointer(Value.VUTF8String), Length(Value.VUTF8String), zCP_UTF8);
+ {$ENDIF}
+ end;
You do not have the required permissions to view the files attached to this post.
lucas.sapper
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 03.08.2015, 21:29

Re: Delphi XE8 Patch (rev 3633)

Post by lucas.sapper »

How can I install zeoslib on Delphi XE8 ?
davy
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 25.02.2010, 10:05

Re: Delphi XE8 Patch (rev 3633)

Post by davy »

I would like to use zeoslib in XE8, but I have some build issues.

ZCompatibility.pas: Ambiguoug overloaded call to 'CharInSet'
on the second while loop

Code: Select all

function AnsiProperCase(const S: string; const WordDelims: TSysCharSet): string;
var
  P,PE : PChar;
begin
  Result:=AnsiLowerCase(S);
  P:=PChar(pointer(Result));
  PE:=P+Length(Result);
  while (P<PE) do
    begin
    while (P<PE) and CharInSet(P^, WordDelims) do  <----
      inc(P);
    if (P<PE) then
      P^:=UpCase(P^);
    while (P<PE) and not (CharInSet(P^, WordDelims)) do
      inc(P);
    end;
end;

Can you make your XE8 Packages and source updates available in svn?

thanks
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1934
Joined: 17.01.2011, 14:17

Re: Delphi XE8 Patch (rev 3633)

Post by marsupilami »

Hello davy,

which Version of Zeos do you intend to use? The patch that was supplied by cacofony is for Zeos 7.2. But somehow I doubt it will solve your problem. Did you checkout the latest version from the testing-7.2 branch?
With best regards,

Jan
davy
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 25.02.2010, 10:05

Re: Delphi XE8 Patch (rev 3633)

Post by davy »

Dear Jan,

I tried the latest revision 3638.
I tried different branches 7.1, testing-7.2, testing -7.3, but all with the same result.

Do you know someone using zeos on XE8?

Thanks
Davy
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1934
Joined: 17.01.2011, 14:17

Re: Delphi XE8 Patch (rev 3633)

Post by marsupilami »

Hello davy,

it seems that Michal (Miab3) uses Delphi XE8. It also seems that he has some packages available for compiling Zeos with Delphi XE8. I will ask him for his packages.
With best regards,

Jan
davy
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 25.02.2010, 10:05

Re: Delphi XE8 Patch (rev 3633)

Post by davy »

Jan,

Thanks!
WILWSO
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 17.08.2015, 18:19

Re: Delphi XE8 Patch (rev 3633)

Post by WILWSO »

how do you do for install zeoslib in delphi XE8?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1934
Joined: 17.01.2011, 14:17

Re: Delphi XE8 Patch (rev 3633)

Post by marsupilami »

Hello davy I checkd in the packages, that were provided by miab graciously, today. Could you please test them?

With best regards,

Jan
davy
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 25.02.2010, 10:05

Re: Delphi XE8 Patch (rev 3633)

Post by davy »

the package is working

thanks
Davy
WILWSO
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 17.08.2015, 18:19

Re: Delphi XE8 Patch (rev 3633)

Post by WILWSO »

HELLO JAN, please, you could send me the ZEOS packages (from miab3) that provided for XE8?
I need so much!

With best regards,
Wilton Santos.
viaraSOFT
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 12.08.2015, 22:07

Re: Delphi XE8 Patch (rev 3633)

Post by viaraSOFT »

Sorry for my ignorance :oops: but how can I apply or install that patch (provided by cacofony) because I am in the same situation, i am trying to compile the Zeos 7.1.4 for XE7 in XE8 and get the "Ambiguous overloaded call to 'CharInSet' error" in ZSysUtils.pas.

Thanks!
viaraSOFT
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 12.08.2015, 22:07

Re: Delphi XE8 Patch (rev 3633)

Post by viaraSOFT »

How can I use that patch?
Post Reply