Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Messagebox and Manifest Pin
S van Leent19-Nov-02 10:24
S van Leent19-Nov-02 10:24 
GeneralSaving a pointer to file Pin
Peter Molnar19-Nov-02 8:07
Peter Molnar19-Nov-02 8:07 
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 
Bunburry wrote:
The pointers really point to some house made objects which are generated from a serial flow of data and then "consumed" by the app.

I would use memory mapped files!

Store your data in a memory mapped file. That will allow you to access any part of the memory buffer as if it were a pointer (because it is loaded into memory), yet at the same time it is persisted to your harddrive. Therefore if you do not consume the data immediately it can be stored to disk.

The only issue here is that you will need to manage the memory in the file in such a way that will allow you to flag the ranges of memory that have and have not yet been consumed.

Bunburry wrote:
It is better having a slow ill app than having a quick dead.

Basically it is best to shoot for a healthy app. Once you get a basic design set forth that is healthy, you can always improve the speed later. The speed can come from eliminating processing that isnt necessary, or moving items to back ground threads and processes. Get your solution working first, then increase the speed later.




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 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 
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 

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.