Page 1 of 1

Delphi XE8 Patch (rev 3633)

Posted: 14.06.2015, 15:14
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;

Re: Delphi XE8 Patch (rev 3633)

Posted: 04.08.2015, 18:54
by lucas.sapper
How can I install zeoslib on Delphi XE8 ?

Re: Delphi XE8 Patch (rev 3633)

Posted: 07.08.2015, 09:48
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

Re: Delphi XE8 Patch (rev 3633)

Posted: 10.08.2015, 13:05
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

Re: Delphi XE8 Patch (rev 3633)

Posted: 10.08.2015, 13:38
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

Re: Delphi XE8 Patch (rev 3633)

Posted: 12.08.2015, 11:50
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

Re: Delphi XE8 Patch (rev 3633)

Posted: 12.08.2015, 12:28
by davy
Jan,

Thanks!

Re: Delphi XE8 Patch (rev 3633)

Posted: 17.08.2015, 18:39
by WILWSO
how do you do for install zeoslib in delphi XE8?

Re: Delphi XE8 Patch (rev 3633)

Posted: 17.08.2015, 19:55
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

Re: Delphi XE8 Patch (rev 3633)

Posted: 18.08.2015, 13:29
by davy
the package is working

thanks
Davy

Re: Delphi XE8 Patch (rev 3633)

Posted: 20.08.2015, 13:56
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.

Re: Delphi XE8 Patch (rev 3633)

Posted: 21.08.2015, 21:32
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!

Re: Delphi XE8 Patch (rev 3633)

Posted: 27.08.2015, 23:23
by viaraSOFT
How can I use that patch?