Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread PasZip.pas Issue.
Sun, Dec 1 2024 3:59 PMPermanent Link

Ian Branch

Avatar

Hi Team,
I recently started to play in 64 bit.  Normally I was 32 bit exclusive.
I ran up against an issue with paszip.pas, used in a couple of places in EDB.
I kept geting an error at line 4341 or thereabouts:  file_ := INVALID_HANDLE_VALUE;
Tracing, I found variable file_ was defined at line around 3963 as a DWORD:  file_: dword;
This is fine in 32bit but problematic in 64bit.
The solution was to change the declaration to:   file_: THandle;
Now paszip.pas builds without issue in both 32 & 64 bit.
HTH in some way..

Regards,
Ian
Mon, Dec 9 2024 2:54 PMPermanent Link

Ian Branch

Avatar

Hi Team,
Further issues/changes have been identified/adressed in PasZip as a follow on to my initial issue.
The current PasZip can be downloaded from https://github.com/synopse/mORMot

Regards,
Ian
Thu, Dec 12 2024 8:07 PMPermanent Link

Ian Branch

Avatar

The mORMot PasZip.pas has been updated even further.
Some additional variables made THandle type.
It is still 32 bit/64 bit compatible.
Image