Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General[Message Deleted] Pin
Mathieu Dijkstra9-Nov-05 9:31
Mathieu Dijkstra9-Nov-05 9:31 
GeneralRe: Fast files Pin
David Crow9-Nov-05 9:49
David Crow9-Nov-05 9:49 
GeneralRe: Fast files Pin
hint_549-Nov-05 10:06
hint_549-Nov-05 10:06 
GeneralRe: Fast files Pin
David Crow9-Nov-05 10:17
David Crow9-Nov-05 10:17 
GeneralRe: Fast files Pin
hint_549-Nov-05 10:31
hint_549-Nov-05 10:31 
GeneralRe: Fast files Pin
James R. Twine9-Nov-05 17:05
James R. Twine9-Nov-05 17:05 
GeneralRe: Fast files Pin
hint_5410-Nov-05 7:52
hint_5410-Nov-05 7:52 
AnswerRe: Fast files Pin
James R. Twine9-Nov-05 16:59
James R. Twine9-Nov-05 16:59 
DavidCrow wrote:
A memory-mapped file is a spot in memory that can be accessed (e.g., open, close, read, write, seek) as though it were an actual file.


   Sorry, but I think that is supposed to be the other way around.  Memory-mapping something allows it to be accessed like normal memory (through a pointer).  For example, if you had a memory mapped buttons/switches in your hardware (common on arcade games), you would be able to read the state of the switches by reading values from one or more specific memory addresses.

   The same goes for files.  If you memory-map a file, you get an address that points to some location in the file, and you can then access the contents of that file through the pointer.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: Fast files Pin
David Crow10-Nov-05 2:42
David Crow10-Nov-05 2:42 
AnswerRe: Fast files Pin
QuiJohn9-Nov-05 9:44
QuiJohn9-Nov-05 9:44 
GeneralRe: Fast files Pin
hint_549-Nov-05 9:59
hint_549-Nov-05 9:59 
GeneralRe: Fast files Pin
David Crow9-Nov-05 10:40
David Crow9-Nov-05 10:40 
GeneralRe: Fast files Pin
hint_549-Nov-05 10:51
hint_549-Nov-05 10:51 
GeneralRe: Fast files Pin
kakan9-Nov-05 20:36
professionalkakan9-Nov-05 20:36 
GeneralRe: Fast files Pin
hint_5410-Nov-05 8:59
hint_5410-Nov-05 8:59 
GeneralRe: Fast files Pin
kakan10-Nov-05 19:50
professionalkakan10-Nov-05 19:50 
AnswerRe: Fast files Pin
kakan9-Nov-05 20:51
professionalkakan9-Nov-05 20:51 
GeneralRe: Fast files Pin
hint_5410-Nov-05 9:30
hint_5410-Nov-05 9:30 
GeneralRe: Fast files Pin
kakan10-Nov-05 19:41
professionalkakan10-Nov-05 19:41 
QuestionGantt chart Pin
ppp0019-Nov-05 7:01
ppp0019-Nov-05 7:01 
QuestionGantt chart component Pin
ppp0019-Nov-05 6:59
ppp0019-Nov-05 6:59 
AnswerRe: Gantt chart component Pin
hint_549-Nov-05 7:31
hint_549-Nov-05 7:31 
AnswerRe: Gantt chart component Pin
David Crow9-Nov-05 8:38
David Crow9-Nov-05 8:38 
QuestionCString concatenation Pin
Kharfax9-Nov-05 6:31
Kharfax9-Nov-05 6:31 
AnswerRe: CString concatenation Pin
Maximilien9-Nov-05 6:47
Maximilien9-Nov-05 6:47 

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.