WIN32_FIND_DATA Size problem
Posted on 2010-01-01
I use WIN32_FIND_DATA to get the size of files in a filelist. I have some probs with big files, means files that have GB values, like 4.4GB as a example.
HANDLE hFind = ::FindFirstFile(pCtx->m_strLocation,&FindData);
pCtx->m_nSize = FindData.nFileSizeLow; //(Vector, m_nSize = int64)
The rsult on small files are ok but with gigabyte allways a wrong size. Any idea why?