开发者

Finding file size windows MFC application

I am wo开发者_开发知识库rking on a Windows MFC application. I am preparing a report list in my design using CListCtrl were I can list the name, size, type and modified date of the file. I do not know how to display the size of a file. Do any one know how to do that?


To get all your info in one shot, use:

CFileStatus filestatus;
CFile::GetStatus( filename, filestatus );
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜