Title: RE: [msvc] CFileStatus fails on large file

> I'm using CFileStatus to get attributes of a file.  When I first
> installed XP pro I used the backup program to create a complete backup

> of one of my partitions as a test.  When the following code tries to
> get the attibutes of that file it causes an assertion failure at the
> GetStatus call.  A search on the net said that CFileStatus has a limit

> of 4 GB.  Since the file it is failing on is over 9 GB, that is
> probably the problem.  My file manager reads, and can change, the
> attributes with no trouble.  Any idea how I go about just
> reading them?

Have you tried GetFileAttributes( )?

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED]; [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

And when I saw my devil, I found him serious, thorough, profound,
solemn: he was the spirit of gravity- through him all things fall. -Thus
Spoke Zarathustra, F. W. Nietzsche

Reply via email to