Delphi XE8 Patch (rev 3633)
-
- Fresh Boarder
- Posts: 16
- Joined: 06.12.2006, 15:24
- Location: Perth - Western Australia
- Contact:
Delphi XE8 Patch (rev 3633)
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;
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.
-
- Fresh Boarder
- Posts: 2
- Joined: 03.08.2015, 21:29
Re: Delphi XE8 Patch (rev 3633)
How can I install zeoslib on Delphi XE8 ?
Re: Delphi XE8 Patch (rev 3633)
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
Can you make your XE8 Packages and source updates available in svn?
thanks
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
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Delphi XE8 Patch (rev 3633)
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
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)
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
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
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Delphi XE8 Patch (rev 3633)
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
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)
Jan,
Thanks!
Thanks!
Re: Delphi XE8 Patch (rev 3633)
how do you do for install zeoslib in delphi XE8?
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Delphi XE8 Patch (rev 3633)
Hello davy I checkd in the packages, that were provided by miab graciously, today. Could you please test them?
With best regards,
Jan
With best regards,
Jan
Re: Delphi XE8 Patch (rev 3633)
the package is working
thanks
Davy
thanks
Davy
Re: Delphi XE8 Patch (rev 3633)
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.
I need so much!
With best regards,
Wilton Santos.
Re: Delphi XE8 Patch (rev 3633)
Sorry for my ignorance 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!
Thanks!
Re: Delphi XE8 Patch (rev 3633)
How can I use that patch?