Jump to content
Ian Branch

PasZip.pas Issue.

Recommended Posts

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 various 3rd Party libraries.
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

  • Like 1

Share this post


Link to post
14 minutes ago, Ian Branch said:

I ran up against an issue with paszip.pas

If it's the one from Mormot (which it seems to be, given your info), you should file an issue here.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×