Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Minimized link time of C++ applications Pin
Fred Hebert10-Dec-09 11:38
Fred Hebert10-Dec-09 11:38 
GeneralRe: Minimized link time of C++ applications Pin
Rolf Kristensen10-Dec-09 12:02
Rolf Kristensen10-Dec-09 12:02 
GeneralRe: Minimized link time of C++ applications Pin
Rolf Kristensen6-Jan-10 9:31
Rolf Kristensen6-Jan-10 9:31 
GeneralRe: Minimized link time of C++ applications Pin
Fred Hebert18-May-10 9:06
Fred Hebert18-May-10 9:06 
GeneralRe: Minimized link time of C++ applications Pin
Rolf Kristensen18-May-10 9:11
Rolf Kristensen18-May-10 9:11 
QuestionReg. win32_find_data dwFileAttributes value Pin
Rakesh530-Nov-09 2:25
Rakesh530-Nov-09 2:25 
AnswerRe: Reg. win32_find_data dwFileAttributes value Pin
Covean30-Nov-09 3:15
Covean30-Nov-09 3:15 
AnswerRe: Reg. win32_find_data dwFileAttributes value Pin
CPallini30-Nov-09 3:22
mveCPallini30-Nov-09 3:22 
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;



Smile | :)

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]

QuestionHow to convert hundreds of VS2005 soltions to VS2008? Pin
coder21k30-Nov-09 2:18
coder21k30-Nov-09 2:18 
AnswerRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
T210230-Nov-09 2:30
T210230-Nov-09 2:30 
GeneralRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
KarstenK30-Nov-09 3:41
mveKarstenK30-Nov-09 3:41 
GeneralRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
coder21k30-Nov-09 17:35
coder21k30-Nov-09 17:35 
AnswerRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
Joe Woodbury30-Nov-09 9:28
professionalJoe Woodbury30-Nov-09 9:28 
AnswerRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
22491730-Nov-09 14:52
22491730-Nov-09 14:52 
Questionhow to search for a record in a file. Pin
santhosh-padamatinti30-Nov-09 2:17
santhosh-padamatinti30-Nov-09 2:17 
AnswerRe: how to search for a record in a file. Pin
dxlee30-Nov-09 3:42
dxlee30-Nov-09 3:42 
AnswerRe: how to search for a record in a file. Pin
KarstenK30-Nov-09 4:25
mveKarstenK30-Nov-09 4:25 
AnswerRe: how to search for a record in a file. Pin
22491730-Nov-09 8:58
22491730-Nov-09 8:58 
QuestionArray in NASM Pin
Aljaz11130-Nov-09 1:59
Aljaz11130-Nov-09 1:59 
AnswerRe: Array in NASM Pin
Richard MacCutchan30-Nov-09 5:27
mveRichard MacCutchan30-Nov-09 5:27 
QuestionCOM DLL ProgID is not created Pin
Ash_VCPP30-Nov-09 0:55
Ash_VCPP30-Nov-09 0:55 
AnswerRe: COM DLL ProgID is not created Pin
Member 392263930-Nov-09 2:30
Member 392263930-Nov-09 2:30 
AnswerRe: COM DLL ProgID is not created Pin
KarstenK30-Nov-09 3:44
mveKarstenK30-Nov-09 3:44 
Questiondo you have researched desktop message, can you share your fruit to me? Pin
nenfa30-Nov-09 0:44
nenfa30-Nov-09 0:44 
AnswerRe: do you have researched desktop message, can you share your fruit to me? Pin
Code-o-mat30-Nov-09 2:10
Code-o-mat30-Nov-09 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.