large file support in Win32

Werner Koch wk at gnupg.org
Thu Sep 22 18:59:32 CEST 2005


On Thu, 22 Sep 2005 08:21:50 -0500, Alaric Dailey said:

> GetFileSize shouldn't be the API call you are making you should be
> using GetFileSizeEx, but...

Which is not availabe for old systems.

> it returns a low order unsigned long, and if you want the larger
> portion you need to pass in a pointer to a DWORD to get the HIGH ORDER
> portion of the file size (greater than 4Gig).

I better don't change the code - it might break things under W95.



Shalom-Salam,

   Werner




More information about the Gnupg-devel mailing list