large file support in Win32

Werner Koch wk at
Thu Sep 22 18:58:00 CEST 2005

On Thu, 22 Sep 2005 07:45:54 -0500, Ryan Malayter said:

> I suppose the only thing to do would be to pass a lpFileSizeHigh value
> and test combinations with GetLastError to see what the function's
> behavior really is.

My reading was that it returns an error. Am not sure, but I think I
tested this once with Windows ME.

Anyway, I solved it now by using GetFileSizeEx.  I ran a test today
and it works. I was only abe to do the decrytpion to nul but it didn't
reported an error.

On pre W2000 system GetFileSize will be used.



More information about the Gnupg-devel mailing list