Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting the DPI value in C++ code Pin
David Crow7-Jun-05 7:17
David Crow7-Jun-05 7:17 
QuestionHow to write source code documentation? Pin
loobian7-Jun-05 0:36
loobian7-Jun-05 0:36 
AnswerRe: How to write source code documentation? Pin
toxcct7-Jun-05 1:20
toxcct7-Jun-05 1:20 
AnswerRe: How to write source code documentation? Pin
RChin7-Jun-05 3:53
RChin7-Jun-05 3:53 
AnswerRe: How to write source code documentation? Pin
Wes Aday7-Jun-05 7:54
professionalWes Aday7-Jun-05 7:54 
QuestionWhat is a file? Pin
Dimitris Vikeloudas7-Jun-05 0:26
Dimitris Vikeloudas7-Jun-05 0:26 
AnswerRe: What is a file? Pin
David Crow7-Jun-05 3:46
David Crow7-Jun-05 3:46 
GeneralRe: What is a file? Pin
Dimitris Vikeloudas7-Jun-05 4:45
Dimitris Vikeloudas7-Jun-05 4:45 
Hi.

Thanks very much. Your definition of the process it is enlightening.

So for a file you have a HANLDE pointing to a handle structure pointing to a file structure related to disk. That's what I am getting.

Is any similar chain for the CFile object? Also what happen with the UNIX compatibility functions like open. Is the integer that they return a handle casted to int or a is there an array of file descriptors that the C runtime environment maintains to emulate the UNIX process structure?

And what about stdio FILE structures? How do they know the access tokens of the files that they correspond. Simply what I am trying to understand is what is the relationship between an area in a disk and the logical structures. I think you answered what a HANDLE does on that.

If you know any documentation going to all these details will be much appreciated.



life is a river with mist ahead..
GeneralRe: What is a file? Pin
John M. Drescher7-Jun-05 5:44
John M. Drescher7-Jun-05 5:44 
GeneralRe: What is a file? Pin
John M. Drescher7-Jun-05 6:01
John M. Drescher7-Jun-05 6:01 
AnswerRe: What is a file? Pin
John M. Drescher7-Jun-05 4:04
John M. Drescher7-Jun-05 4:04 
AnswerFAT32 & NTFS Pin
bghuang7-Jun-05 4:29
bghuang7-Jun-05 4:29 
GeneralHELP... Pin
7-Jun-05 0:05
suss7-Jun-05 0:05 
GeneralRe: HELP... Pin
Bob Stanneveld7-Jun-05 0:18
Bob Stanneveld7-Jun-05 0:18 
GeneralRe: HELP... Pin
toxcct7-Jun-05 1:34
toxcct7-Jun-05 1:34 
GeneralRe: HELP... Pin
Bob Stanneveld7-Jun-05 1:36
Bob Stanneveld7-Jun-05 1:36 
GeneralRe: HELP... Pin
toxcct7-Jun-05 1:51
toxcct7-Jun-05 1:51 
GeneralRe: HELP... Pin
Bob Stanneveld7-Jun-05 2:03
Bob Stanneveld7-Jun-05 2:03 
GeneralRe: HELP... Pin
ThatsAlok7-Jun-05 2:14
ThatsAlok7-Jun-05 2:14 
GeneralRe: HELP... Pin
Bob Stanneveld7-Jun-05 2:22
Bob Stanneveld7-Jun-05 2:22 
GeneralRe: HELP... Pin
toxcct7-Jun-05 5:06
toxcct7-Jun-05 5:06 
QuestionHow to access the variables of View Class Pin
nripun7-Jun-05 0:00
nripun7-Jun-05 0:00 
AnswerRe: How to access the variables of View Class Pin
Rahim Rattani7-Jun-05 0:14
Rahim Rattani7-Jun-05 0:14 
AnswerRe: How to access the variables of View Class Pin
Cedric Moonen7-Jun-05 0:17
Cedric Moonen7-Jun-05 0:17 
GeneralRe: How to access the variables of View Class Pin
nripun7-Jun-05 1:37
nripun7-Jun-05 1:37 

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.