BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

findfirst and attributes

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder
View previous topic :: View next topic  
Author Message
Kiwi
Guest





PostPosted: Sat Dec 27, 2003 3:31 pm    Post subject: findfirst and attributes Reply with quote



When I use findfirst with the current drive C: the returned attribute is the
same as specified in dos.h. However, when I use findfirst with another
drive the returned attributes are in the 2000 range say, 2064. It looks
like all the attributes have been shifted left by 2.

Would somebody please explain to me what's going on?

Thanks
Roge


Back to top
Kiwi
Guest





PostPosted: Sat Dec 27, 2003 4:06 pm    Post subject: Re: findfirst and attributes Reply with quote



Thanks, but it just looks like the MSB is set for some reason anyway I anded
with 63 and it works okay.


"Kiwi" <aretae (AT) magma (DOT) ca> wrote

Quote:
When I use findfirst with the current drive C: the returned attribute is
the
same as specified in dos.h. However, when I use findfirst with another
drive the returned attributes are in the 2000 range say, 2064. It looks
like all the attributes have been shifted left by 2.

Would somebody please explain to me what's going on?

Thanks
Roge





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.