Click here to Skip to main content
15,895,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving a pointer to file Pin
Christian Graus19-Nov-02 8:18
protectorChristian Graus19-Nov-02 8:18 
GeneralRe: Saving a pointer to file Pin
Maximilien19-Nov-02 8:23
Maximilien19-Nov-02 8:23 
GeneralRe: Saving a pointer to file Pin
Paul M Watt19-Nov-02 8:33
mentorPaul M Watt19-Nov-02 8:33 
GeneralRe: Saving a pointer to file Pin
Peter Molnar19-Nov-02 9:15
Peter Molnar19-Nov-02 9:15 
GeneralRe: Saving a pointer to file Pin
Maximilien19-Nov-02 9:32
Maximilien19-Nov-02 9:32 
GeneralRe: Saving a pointer to file Pin
Paul M Watt19-Nov-02 9:48
mentorPaul M Watt19-Nov-02 9:48 
GeneralRe: Saving a pointer to file Pin
S van Leent19-Nov-02 10:59
S van Leent19-Nov-02 10:59 
GeneralRe: Saving a pointer to file Pin
Paul M Watt19-Nov-02 11:34
mentorPaul M Watt19-Nov-02 11:34 
You wont need a garbage collector, you will simply need a small class to manage the stream pointers for each of the data pieces. I have used a memory mapped file in a number of projects for interprocess communication where I managed data streams in both directions.

In this particular instance, the data would be copied to the memory mapped file, and if the data should be stored to disk, the virtual memory pages will just need to be flushed to the disk and it is instantaneously saved.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Saving a pointer to file Pin
S van Leent20-Nov-02 7:12
S van Leent20-Nov-02 7:12 
GeneralHELP WANTED! Pin
MFC is the Best19-Nov-02 7:49
MFC is the Best19-Nov-02 7:49 
GeneralRe: HELP WANTED! Pin
Maximilien19-Nov-02 8:02
Maximilien19-Nov-02 8:02 
GeneralRe: HELP WANTED! Pin
MFC is the Best19-Nov-02 8:05
MFC is the Best19-Nov-02 8:05 
GeneralRe: HELP WANTED! Pin
Maximilien19-Nov-02 8:17
Maximilien19-Nov-02 8:17 
GeneralNeed definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 7:27
Dominik Reichl19-Nov-02 7:27 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
User 665819-Nov-02 7:47
User 665819-Nov-02 7:47 
GeneralRe: Need definitions of constants for SetupDiGetDeviceRegistryProperty Pin
Dominik Reichl19-Nov-02 10:02
Dominik Reichl19-Nov-02 10:02 
GeneralGDI related Pin
Imran Farooqui19-Nov-02 7:04
Imran Farooqui19-Nov-02 7:04 
GeneralRe: GDI related Pin
Christian Graus19-Nov-02 8:20
protectorChristian Graus19-Nov-02 8:20 
GeneralRe: GDI related Pin
Paul M Watt19-Nov-02 8:24
mentorPaul M Watt19-Nov-02 8:24 
QuestionMaximize my app drawing even over the MS Windows taskbar? Pin
Joan M19-Nov-02 6:27
professionalJoan M19-Nov-02 6:27 
AnswerRe: Maximize my app drawing even over the MS Windows taskbar? Pin
RobJones19-Nov-02 8:58
RobJones19-Nov-02 8:58 
AnswerRe: Maximize my app drawing even over the MS Windows taskbar? Pin
RobJones19-Nov-02 9:07
RobJones19-Nov-02 9:07 
Answertutorial for this Pin
zenboy19-Nov-02 14:27
zenboy19-Nov-02 14:27 
GeneralTri - State button Pin
Anonymous19-Nov-02 6:12
Anonymous19-Nov-02 6:12 
GeneralRe: Tri - State button Pin
Alvaro Mendez19-Nov-02 6:26
Alvaro Mendez19-Nov-02 6: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.