Search found 1310 matches

by miab3
04.05.2023, 12:30
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

The problem I reported was a particular situation of using ZMemTable. In fact, everything that compiles in Delphi 7 compiles without problems in subsequent non-Unicode Delphi versions (not always the other way round). Unless you don't have all the sources, then there's a problem. I'm going to stay w...
by miab3
04.05.2023, 12:06
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

Zeos7.3 is renamed Zeos8 and so far it compiles for Delphi7 but I think Delphi7 is probably worth abandoning
in the context of Windows10 and especially 11 and in the perspective of 12.
https://en.wikipedia.org/wiki/History_o ... (software)

Michal
by miab3
04.05.2023, 11:24
Forum: ZeosLib 7.3/8.0 Forum
Topic: Data clear after canceling ZQuery
Replies: 8
Views: 539

Re: Data clear after canceling ZQuery

ZConnection1.Connected:=FALSE;
ZQuery1.Open;

Shows old value

Michal
by miab3
03.05.2023, 10:44
Forum: ZeosLib 7.3/8.0 Forum
Topic: Data clear after canceling ZQuery
Replies: 8
Views: 539

Re: Data clear after canceling ZQuery

And where is ZQuery1.Post?

Michal
by miab3
01.05.2023, 14:05
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46668

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
by miab3
29.04.2023, 13:16
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46668

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] ...
by miab3
24.04.2023, 13:37
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

Maybe it makes sense th have a 32Bits version number like FFFFFFFF and decrement it with each new version. Having this many bits set to 1 should be quite uncommon? With this, FF FF FF FF is a good idea because now the first 4 bytes are occupied by the number of fields, so it does not come close to ...
by miab3
23.04.2023, 20:55
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

From what I see, errors in D7 appear especially at:

ZMemTable1.SaveToStream(fs);
ZMemTable1.LoadFromStream(fs);

In D2007 in the same situation no.

Michal
by miab3
23.04.2023, 17:13
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

Hi Jan,

For example:
err1.png
err2.png
Idea @stoffman:
"Make the first byte of the file a version number of the format"
He's nice.
Might actually leave it disabled by default for now:
{.$DEFINE ZMEMTABLE_ENABLE_STREAM_EXPORT_IMPORT}

Michal
by miab3
21.04.2023, 14:45
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

It works in all the ones I mentioned, that is since D2006 for sure. I haven't tested between versions (I'm using it as a temporary, local application database). It seems that there is no compatibility between versions yet (maybe in the future it would be worth developing a single portable format) As...
by miab3
21.04.2023, 08:08
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8 - draft of Release Notes
Replies: 23
Views: 1392

Re: Zeos 8 - draft of Release Notes

There is an interesting toggle in Zeos.inc: // If defined the ZMemTable component allows importing and exporting it's layout and data to a TStream descendant. Only tested with D10.3+ !!! {.$DEFINE ZMEMTABLE_ENABLE_STREAM_EXPORT_IMPORT} It works for me with all tested versions. So I unlock it by defa...
by miab3
20.04.2023, 21:35
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46668

Re: Zeos 7.3 testers-thread

ZEOS 8.0.0 /trunk svn 8005 https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/trunk Compiles and Works: - Lazarus 2.2.6-Win32/Win64, - Delphi D2006, - Delphi D2007, - Delphi XE2-Win32/Win64, - Delphi 10-Win32/Win64, - Delphi 10.3.3 Rio-Win32/Win64/(Android/Android64- compiles but requires more thor...
by miab3
05.04.2023, 11:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 7.3 testers-thread
Replies: 286
Views: 46668

Re: Zeos 7.3 testers-thread

ZEOS 8.0.0 /trunk svn 7994 https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/trunk Compiles and Works: - Lazarus 2.2.6-Win32/Win64, - Delphi 2007, - Delphi XE2-Win32/Win64, - Delphi 10-Win32/Win64, - Delphi 10.3.3 Rio-Win32/Win64/(Android/Android64- compiles but requires more thorough testing), - ...