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

Hello Adam,

Thursday, May 15, 2003, 8:06:42 AM, you wrote:

>> 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?

> How about  'GetFileInformationByHandle'?

From the desctiption this sounds like what I need but the warning
causes some concern:

"you should not use GetFileInformationByHandle unless your application
is intended to be run on a limited set of operating system
configurations."

Any idea what they are warning about?  How do I know what
configurations it won't work on?

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

..."I'd rather have two girls at 21 each than one girl at 42." -- WC Fields

Reply via email to