11 digit numbers
-
i have a simple findfile program the problem i have is some files i have are very large 12 gig each anything under 4 gig and it has the right size over 4 gig and its wrong ive tryed everything i can think of but nothing is working i know it can be done im just doing something wrong can anyone help?
-
i have a simple findfile program the problem i have is some files i have are very large 12 gig each anything under 4 gig and it has the right size over 4 gig and its wrong ive tryed everything i can think of but nothing is working i know it can be done im just doing something wrong can anyone help?
It's simple for number > 4 Gb, you need a 64 bit integer, it consists of two 32 bit integer: low bit and high bit DWORD GetFileSize( HANDLE hFile, // handle of file to get size of LPDWORD lpFileSizeHigh // pointer to high-order word for file size ); use this function to get file size, it returns the low word of file size. lpFileSizeHight will store the high bytes of file size.