Click here to Skip to main content
15,917,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: See if dll exist Pin
CPallini20-Mar-11 22:35
mveCPallini20-Mar-11 22:35 
AnswerRe: See if dll exist Pin
Richard MacCutchan20-Mar-11 23:15
mveRichard MacCutchan20-Mar-11 23:15 
GeneralRe: See if dll exist Pin
marca29221-Mar-11 0:52
marca29221-Mar-11 0:52 
GeneralRe: See if dll exist Pin
Richard MacCutchan21-Mar-11 2:35
mveRichard MacCutchan21-Mar-11 2:35 
GeneralRe: See if dll exist Pin
marca29221-Mar-11 4:49
marca29221-Mar-11 4:49 
GeneralRe: See if dll exist Pin
Richard MacCutchan21-Mar-11 5:47
mveRichard MacCutchan21-Mar-11 5:47 
Questionhide the file or folder Pin
sarfaraznawaz20-Mar-11 21:23
sarfaraznawaz20-Mar-11 21:23 
AnswerRe: hide the file or folder Pin
Vera99920-Mar-11 21:36
Vera99920-Mar-11 21:36 
AnswerRe: hide the file or folder Pin
Richard MacCutchan20-Mar-11 23:13
mveRichard MacCutchan20-Mar-11 23:13 
GeneralRe: hide the file or folder Pin
sarfaraznawaz23-Mar-11 23:18
sarfaraznawaz23-Mar-11 23:18 
GeneralRe: hide the file or folder Pin
Richard MacCutchan24-Mar-11 0:49
mveRichard MacCutchan24-Mar-11 0:49 
GeneralRe: hide the file or folder Pin
sarfaraznawaz24-Mar-11 2:44
sarfaraznawaz24-Mar-11 2:44 
GeneralRe: hide the file or folder Pin
sarfaraznawaz24-Mar-11 2:59
sarfaraznawaz24-Mar-11 2:59 
GeneralRe: hide the file or folder Pin
Richard MacCutchan24-Mar-11 5:43
mveRichard MacCutchan24-Mar-11 5:43 
GeneralRe: hide the file or folder Pin
sarfaraznawaz24-Mar-11 18:31
sarfaraznawaz24-Mar-11 18:31 
GeneralRe: hide the file or folder Pin
Richard MacCutchan24-Mar-11 23:54
mveRichard MacCutchan24-Mar-11 23:54 
GeneralRe: hide the file or folder Pin
sarfaraznawaz25-Mar-11 0:55
sarfaraznawaz25-Mar-11 0:55 
GeneralRe: hide the file or folder Pin
Richard MacCutchan25-Mar-11 1:05
mveRichard MacCutchan25-Mar-11 1:05 
GeneralRe: hide the file or folder Pin
Charles Oppermann7-Apr-11 11:30
Charles Oppermann7-Apr-11 11:30 
I suspect that the original poster wishes prevent the file from showing up in list of files in a directory.

You can set the FILE_ATTRIBUTE_HIDDEN, which is the accepted method.

However, if someone uses Windows Explorer with the "Show Hidden files, folders, and drives" open turned on (non-default setting), then hidden files are shown.

The original poster is saying "Screw you end user, I don't care that you want to see hidden files, I want to keep my hidden files really hidden!"

In that case, use the combination of FILE_ATTRIBUTE_HIDDEN along with FILE_ATTRIBUTE_SYSTEM to hide the flie even more so.

Of course, one has to wonder why an application must go to such lengths to prevent determined end users from seeing what files are on their file system.
Charles Oppermann

GeneralRe: hide the file or folder Pin
Richard MacCutchan8-Apr-11 0:21
mveRichard MacCutchan8-Apr-11 0:21 
GeneralRe: hide the file or folder Pin
sarfaraznawaz10-Apr-11 23:41
sarfaraznawaz10-Apr-11 23:41 
GeneralRe: hide the file or folder Pin
Charles Oppermann11-Apr-11 11:00
Charles Oppermann11-Apr-11 11:00 
GeneralRe: hide the file or folder Pin
sarfaraznawaz11-Apr-11 18:19
sarfaraznawaz11-Apr-11 18:19 
GeneralRe: hide the file or folder Pin
Charles Oppermann12-Apr-11 2:53
Charles Oppermann12-Apr-11 2:53 
GeneralRe: hide the file or folder Pin
sarfaraznawaz12-Apr-11 21:05
sarfaraznawaz12-Apr-11 21:05 

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.