Title: Re[3]: [msvc] CFileStatus fails on large file

Hello Phil,

Thursday, May 15, 2003, 7:56:49 AM, you wrote:

> At 05/15/2003 09:16 AM, Jack wrote:

>  >> Have you tried GetFileAttributes( )?
>  >
>  >I need to get the date attributes (m_ctime and m_mtime) that
>  >GetFileAttributes doesn't have.  I could use both calls but
>  >CFileStatus would still abort on the large file. I suppose I could add
>  >a size check to prevent CFileStatus from trying to access the file but
>  >with both additional checks the speed of the program would probably
>  >suffer too much.

> How about FindFirstFile()  ?

I'm not sure I understand what you are asking.  I use
FindFile/FindNextFile to get a handle to the file now.  But that
doesn't return any attributes.  Once I get the handle I use
CFileStatus.

--
Jack
EMail: [EMAIL PROTECTED]
Home: http://home.twmi.rr.com/jyorktw/

...After I cook the vegetables, what do I do with the wheelchairs?

Reply via email to