How to get file size?
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
How can I find the size of a file without opening it? Or if I do have to open it, how can I open it and get the file size when it is already open by another application?
_stat64( szFileName, &fileStat ); http://www.codeproject.com/KB/files/filesize.aspx[^]
Vikas Amin UNITED STATES STEEL CORPORATION
My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM
-
How can I find the size of a file without opening it? Or if I do have to open it, how can I open it and get the file size when it is already open by another application?
The FindFirstFile() API works fine. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: