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

C / C++ / MFC

 
GeneralRe: How to enter japanese strings in my string table ? Pin
jhwurmbach19-Sep-07 23:05
jhwurmbach19-Sep-07 23:05 
GeneralRe: How to enter japanese strings in my string table ? Pin
Krishnatv19-Sep-07 23:26
Krishnatv19-Sep-07 23:26 
QuestionFinding files Pin
Waldermort19-Sep-07 21:42
Waldermort19-Sep-07 21:42 
AnswerRe: Finding files Pin
Nelek19-Sep-07 22:09
protectorNelek19-Sep-07 22:09 
GeneralRe: Finding files Pin
Waldermort19-Sep-07 22:15
Waldermort19-Sep-07 22:15 
GeneralCuriosity Pin
Nelek19-Sep-07 22:30
protectorNelek19-Sep-07 22:30 
GeneralRe: Curiosity Pin
Waldermort19-Sep-07 22:32
Waldermort19-Sep-07 22:32 
AnswerRe: Finding files Pin
nbugalia19-Sep-07 23:00
nbugalia19-Sep-07 23:00 
GeneralRe: Finding files Pin
David Crow21-Sep-07 4:01
David Crow21-Sep-07 4:01 
AnswerRe: Finding files Pin
beko19-Sep-07 23:12
beko19-Sep-07 23:12 
GeneralRe: Finding files Pin
DevMentor.org20-Sep-07 9:50
DevMentor.org20-Sep-07 9:50 
QuestionRe: Finding files Pin
David Crow21-Sep-07 4:05
David Crow21-Sep-07 4:05 
AnswerRe: Finding files Pin
Waldermort21-Sep-07 4:25
Waldermort21-Sep-07 4:25 
GeneralRe: Finding files Pin
David Crow21-Sep-07 4:39
David Crow21-Sep-07 4:39 
GeneralRe: Finding files Pin
Waldermort21-Sep-07 4:47
Waldermort21-Sep-07 4:47 
GeneralRe: Finding files Pin
David Crow21-Sep-07 5:15
David Crow21-Sep-07 5:15 
GeneralRe: Finding files Pin
Waldermort21-Sep-07 5:30
Waldermort21-Sep-07 5:30 
GeneralRe: Finding files Pin
David Crow21-Sep-07 6:13
David Crow21-Sep-07 6:13 
GeneralRe: Finding files Pin
Waldermort21-Sep-07 6:38
Waldermort21-Sep-07 6:38 
GeneralRe: Finding files Pin
David Crow21-Sep-07 7:23
David Crow21-Sep-07 7:23 
GeneralRe: Finding files Pin
Waldermort21-Sep-07 7:55
Waldermort21-Sep-07 7:55 
DavidCrow wrote:
I thought of that, but I've got files that are a few bytes in length, and they are found by CFileFind.


CfileFind will return the size regardless of which part of the disk it is stored. A more realistic method would be to pass each file into DeviceIoControl and count the cluster/fragment usage. 0 fragments indicates that it is stored in the MFT.

Also, I have just accounted for a further 4GB by giving myself access rights to the "System Volume Information". If you know of a way to do this programaticaly I would be glad to hear.

My next step is to call CreateFile for every file/folder found, if it fails then I should attempt to adjust the access rights. This is where CFindFile fails the most, it gives no indication of where it skipped a file/directory simply because it had no rights.

Waldermort

QuestionRe: Finding files Pin
David Crow21-Sep-07 8:05
David Crow21-Sep-07 8:05 
AnswerRe: Finding files Pin
Waldermort21-Sep-07 8:11
Waldermort21-Sep-07 8:11 
GeneralRe: Finding files Pin
David Crow21-Sep-07 8:17
David Crow21-Sep-07 8:17 
GeneralRe: Finding files Pin
Waldermort21-Sep-07 8:26
Waldermort21-Sep-07 8:26 

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.