Rakesh5 wrote:
my doubt is, do we get this value as 33 for all readonly files??
Nope, according to ducomentation 33 means 'archive' AND 'read-only'. You should test the least significative bit of the m_attribute byte, in order to get the read-only property, for instance
bool isReadOnly = (status.m_attribute & CFileStatus::Attribute.readOnly) == CFileStatus::Attribute.readOnly;
:)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]