Code:LARGE_INTEGER li; GetFileSizeEx(hFile, &li);
This is a discussion on Windows Specific File I/O within the Windows Programming forums, part of the Platform Specific Boards category; Code: LARGE_INTEGER li; GetFileSizeEx(hFile, &li);...
What is the easiest way to get around this? How do i convert a LARGE_INTEGER to a DWORD?main.cpp: In function `int main(int, char**)':
main.cpp:42: error: no match for 'operator/' in 'InputSize / FileCount'
main.cpp:43: error: no match for 'operator%' in 'InputSize % FileCount'
How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.
Use the "QuadPart" section of the LARGE_INTEGER union.
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.