Zeos 7.3 testers-thread
Re: Zeos 7.3 testers-thread
Hi Jan,
In ZEOS 8.0.0 /trunk svn 8015 (Delphi 10.3.3)
In zdbc.dpk
is lacking
ZDbcXmlUtils in '..\..\src\dbc\ZDbcXmlUtils.pas'
After adding this it compiles and works.
Delphi XE2-Win32/Win64 too.
The problem occurs in D2007.
ZDbcXmlUtils needs ZBase64.dcu which does not compile in D2007:
[DCC Error] ZBase64.pas(40): E2003 Undeclared identifier: 'TBytesStream'
[DCC Error] ZBase64.pas(92): E2003 Undeclared identifier: 'TBytesStream'
Interesting here:
https://stackoverflow.com/questions/300 ... elphi-2007
https://www.codenewsfast.com/cnf/thread ... g1919q5001
Michal
In ZEOS 8.0.0 /trunk svn 8015 (Delphi 10.3.3)
In zdbc.dpk
is lacking
ZDbcXmlUtils in '..\..\src\dbc\ZDbcXmlUtils.pas'
After adding this it compiles and works.
Delphi XE2-Win32/Win64 too.
The problem occurs in D2007.
ZDbcXmlUtils needs ZBase64.dcu which does not compile in D2007:
[DCC Error] ZBase64.pas(40): E2003 Undeclared identifier: 'TBytesStream'
[DCC Error] ZBase64.pas(92): E2003 Undeclared identifier: 'TBytesStream'
Interesting here:
https://stackoverflow.com/questions/300 ... elphi-2007
https://www.codenewsfast.com/cnf/thread ... g1919q5001
Michal
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zeos 7.3 testers-thread
Hello Michal,
the missing unit should be fixed now.
the missing unit should be fixed now.
I am not sure why that is interesting or what you want to tell me? Do you think about using the Webservice driver with Delphi 2007 or something like that? Or do you get errors on Dephi 2007 when compiling TZMemTable?miab3 wrote: ↑29.04.2023, 13:16 Interesting here:
https://stackoverflow.com/questions/300 ... elphi-2007
https://www.codenewsfast.com/cnf/thread ... g1919q5001
Re: Zeos 7.3 testers-thread
The problem occurs in D2007.
ZDbcXmlUtils needs ZBase64.dcu which does not compile in D2007:
[DCC Error] ZBase64.pas(40): E2003 Undeclared identifier: 'TBytesStream'
[DCC Error] ZBase64.pas(92): E2003 Undeclared identifier: 'TBytesStream'
Michal
ZDbcXmlUtils needs ZBase64.dcu which does not compile in D2007:
[DCC Error] ZBase64.pas(40): E2003 Undeclared identifier: 'TBytesStream'
[DCC Error] ZBase64.pas(92): E2003 Undeclared identifier: 'TBytesStream'
Michal
Re: Zeos 7.3 testers-thread
ZEOS 8.0.0 /trunk svn 8038
Compiles and Works:
-Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michal
Compiles and Works:
-Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michal
Re: Zeos 7.3 testers-thread
ZEOS 8.0.0 /trunk svn 8041
https://sourceforge.net/p/zeoslib/code-0/8041/tree/
Compiles and Works:
- Lazarus 3.0RC1 Win32,
- Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
Some Delphi warnings:
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michał
https://sourceforge.net/p/zeoslib/code-0/8041/tree/
Compiles and Works:
- Lazarus 3.0RC1 Win32,
- Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
Some Delphi warnings:
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michał
Re: Zeos 7.3 testers-thread
ZEOS 8.0.0 /trunk svn 8046
https://sourceforge.net/p/zeoslib/code-0/8046/tree/
Compiles and Works:
- Lazarus 3.0RC1 Win32,
- Delphi 2007(-ZBase64.pas),
- RAD Studio XE2-Win32/Win64/OSX32/C++32,
- Delphi 10.3.3 Rio-Win32/Win64/(Android/Android64- compiles but requires more thorough testing),
- Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
Tested: SQLite, Firebird, MariaDB, MySQL, PostgreSQL, Oracle Database, MS SQL(ADO, OLE DB, ODBC, FreeTDS)
My mORMot 1.18 r6435 PerfTest passes(Delphi 11.1 Alexandria Win32/Win64, Delphi 10.3.3 Rio Win32/Win64, Delphi 2007)
Some Delphi warnings:
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michał
https://sourceforge.net/p/zeoslib/code-0/8046/tree/
Compiles and Works:
- Lazarus 3.0RC1 Win32,
- Delphi 2007(-ZBase64.pas),
- RAD Studio XE2-Win32/Win64/OSX32/C++32,
- Delphi 10.3.3 Rio-Win32/Win64/(Android/Android64- compiles but requires more thorough testing),
- Delphi 11.1 Alexandria - Win32/Win64(/Android/Android64- compiles but requires more thorough testing)).
Tested: SQLite, Firebird, MariaDB, MySQL, PostgreSQL, Oracle Database, MS SQL(ADO, OLE DB, ODBC, FreeTDS)
My mORMot 1.18 r6435 PerfTest passes(Delphi 11.1 Alexandria Win32/Win64, Delphi 10.3.3 Rio Win32/Win64, Delphi 2007)
Some Delphi warnings:
[dcc32 Warning] ZDbcProxyResultSet.pas(1110): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc32 Warning] ZDbcXmlUtils.pas(170): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(202): W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc32 Warning] ZDbcXmlUtils.pas(233): W1057 Implicit string cast from 'AnsiString' to 'string'
Michał
Re: Zeos 7.3 testers-thread
Hi Jan,
8.0-patches_8159
Delphi 11 Win32/Win64/Android32/Android64
Only one Warning:
[dcc32 Warning] ZDbcDbLibResultSet.pas(602): W1044 Suspicious typecast of string to PAnsiChar
Michal
8.0-patches_8159
Delphi 11 Win32/Win64/Android32/Android64
Only one Warning:
[dcc32 Warning] ZDbcDbLibResultSet.pas(602): W1044 Suspicious typecast of string to PAnsiChar
Code: Select all
tdsMsTime: begin
FTempStr := FormatDateTime(GetStatement.GetConSettings^.ReadFormatSettings.TimeFormat, TdsDateTimeAllToDateTime(PDBDATETIMEALL(dbData)^));
{L602:} Result := PAnsiChar(FTempStr);
Len := Length(FTempStr);
end;
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zeos 7.3 testers-thread
Hello Michal,
this should be fixed in rev. 8160.
Best regards,
Jan
this should be fixed in rev. 8160.
Best regards,
Jan
Re: Zeos 7.3 testers-thread
Hi Jan,
8.0-patches_8160
Delphi 11 Win32/Win64/Android32/Android64
Now three Warnings:
[dcc64 Warning] ZDbcDbLibResultSet.pas(595): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc64 Warning] ZDbcDbLibResultSet.pas(599): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc64 Warning] ZDbcDbLibResultSet.pas(603): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
Regards,
Michal
8.0-patches_8160
Delphi 11 Win32/Win64/Android32/Android64
Now three Warnings:
[dcc64 Warning] ZDbcDbLibResultSet.pas(595): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc64 Warning] ZDbcDbLibResultSet.pas(599): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[dcc64 Warning] ZDbcDbLibResultSet.pas(603): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
Code: Select all
end else if tdstype = tdsMsTime then begin
{L595} FTempStr := FormatDateTime(GetStatement.GetConSettings^.ReadFormatSettings.TimeFormat, TdsDateTimeAllToDateTime(PDBDATETIMEALL(dbData)^));
Result := PAnsiChar(FTempStr);
Len := Length(FTempStr);
end else if tdstype = tdsMsDate then begin
{L599} FTempStr := FormatDateTime(GetStatement.GetConSettings^.ReadFormatSettings.DateFormat, TdsDateTimeAllToDateTime(PDBDATETIMEALL(dbData)^));
Result := PAnsiChar(FTempStr);
Len := Length(FTempStr);
end else if tdstype in [tdsMsDateTime2, tdsMsDateTimeOffset] then begin
{L603} FTempStr := FormatDateTime(GetStatement.GetConSettings^.ReadFormatSettings.DateTimeFormat, TdsDateTimeAllToDateTime(PDBDATETIMEALL(dbData)^));
Result := PAnsiChar(FTempStr);
Len := Length(FTempStr);
end else begin
Regards,
Michal
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zeos 7.3 testers-thread
Hello Michal,
the warnings should be fixed now.
Best regards,
Jan
the warnings should be fixed now.
Best regards,
Jan
Re: Zeos 7.3 testers-thread
Hi Jan,
8.0-patches_8167
Delphi 11.1 Win32/Win64/Android32/Android64
Now without Warnings.
My mORMot 1.18 r6435 PerfTest passes - Delphi 11.1 Win32/Win64; Delphi 2007
Regards,
Michal
8.0-patches_8167
Delphi 11.1 Win32/Win64/Android32/Android64
Now without Warnings.
My mORMot 1.18 r6435 PerfTest passes - Delphi 11.1 Win32/Win64; Delphi 2007
Regards,
Michal
Re: Zeos 7.3 testers-thread
lazarus win32/win64 ver. 3.99
fpc 3.3.1
firebird 3.0
http://svn.code.sf.net/p/zeoslib/code-0 ... .0-patches
error in file src\plain\ZPlainFirebird.pas
function IMaster.getStatus(): IStatus;
begin
Result := MasterVTable(vTable).getStatus(Self);
end;
fpc 3.3.1
firebird 3.0
http://svn.code.sf.net/p/zeoslib/code-0 ... .0-patches
error in file src\plain\ZPlainFirebird.pas
function IMaster.getStatus(): IStatus;
begin
Result := MasterVTable(vTable).getStatus(Self);
end;
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zeos 7.3 testers-thread
Hello,
I am not sure what the problem is in this case? What error message do you get? How do you trigger the problem?alexkam75 wrote: ↑14.05.2024, 07:44 lazarus win32/win64 ver. 3.99
fpc 3.3.1
firebird 3.0
http://svn.code.sf.net/p/zeoslib/code-0 ... .0-patches
error in file src\plain\ZPlainFirebird.pas
function IMaster.getStatus(): IStatus;
begin
Result := MasterVTable(vTable).getStatus(Self);
end;
Re: Zeos 7.3 testers-thread
in lazarus 3.99 with fpc 3.2.2. no error, with fpc 3.3.1 access violation error
Re: Zeos 7.3 testers-thread
You do not have the required permissions to view the files attached to this post.