Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TextOut/DrawText is too slow Pin
Chris Losinger6-Dec-11 8:45
professionalChris Losinger6-Dec-11 8:45 
GeneralRe: TextOut/DrawText is too slow Pin
Albert Holguin6-Dec-11 14:34
professionalAlbert Holguin6-Dec-11 14:34 
GeneralRe: TextOut/DrawText is too slow Pin
Chris Losinger6-Dec-11 15:13
professionalChris Losinger6-Dec-11 15:13 
GeneralRe: TextOut/DrawText is too slow Pin
Albert Holguin6-Dec-11 16:00
professionalAlbert Holguin6-Dec-11 16:00 
GeneralRe: TextOut/DrawText is too slow Pin
Joe Smith IX7-Dec-11 3:10
Joe Smith IX7-Dec-11 3:10 
AnswerRe: TextOut/DrawText is too slow Pin
Software_Developer6-Dec-11 15:30
Software_Developer6-Dec-11 15:30 
AnswerRe: TextOut/DrawText is too slow Pin
JackDingler9-Dec-11 10:10
JackDingler9-Dec-11 10:10 
QuestionDesigning file processing application Pin
Member 3287156-Dec-11 4:07
Member 3287156-Dec-11 4:07 
0 down vote favorite
share [fb] share [tw]


I am developing a dialog based application using VC++/MFC.

The application is required to do following processing:

1. Read input files those has a Header(one per file), Metadata section(multiple in single file) and Data Sections(multiple in single file)

2. Based on the One Data sample per x seconds, generate missing Data Section records E.g. The file contains Data Section have records for time T1, T5, T7 and T10 and Data sample rate is 1 then The output file should contain generated records for T2,T3,T4 and T6 along with existing records.

3. All Header section info is required to be written to one INI file text format. All Data Section records required to be written to separate binary file.

I am evaluating solution designs for it, considering below points:

A. Where to use threads ? One for reading, One for processing and one for Writing?

B. How to read input file? All file contents and retain in memory for processing? OR Read it by block by block (to handle large size file as well)?

C. How to do processing? On the fly right after reading -> process -> write ? OR Reade contents completely then processes it and then write.

In simple way I have to Read File -> Process data read -> and finally write it to different file format

Please give your valuable comments / design approaches for it.
AnswerRe: Designing file processing application Pin
Albert Holguin6-Dec-11 5:30
professionalAlbert Holguin6-Dec-11 5:30 
GeneralRe: Designing file processing application Pin
JackDingler6-Dec-11 6:17
JackDingler6-Dec-11 6:17 
AnswerRe: Designing file processing application Pin
Luc Pattyn6-Dec-11 6:10
sitebuilderLuc Pattyn6-Dec-11 6:10 
QuestionAccessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 1:12
_AnsHUMAN_ 6-Dec-11 1:12 
AnswerRe: Accessing file from a remote location Pin
Code-o-mat6-Dec-11 1:34
Code-o-mat6-Dec-11 1:34 
QuestionRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 2:46
professionalRajesh R Subramanian6-Dec-11 2:46 
AnswerRe: Accessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 16:52
_AnsHUMAN_ 6-Dec-11 16:52 
GeneralRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 18:15
professionalRajesh R Subramanian6-Dec-11 18:15 
GeneralRe: Accessing file from a remote location Pin
pix_programmer6-Dec-11 19:30
pix_programmer6-Dec-11 19:30 
AnswerRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 20:03
professionalRajesh R Subramanian6-Dec-11 20:03 
GeneralRe: Accessing file from a remote location Pin
KjellKod.cc6-Dec-11 20:16
KjellKod.cc6-Dec-11 20:16 
SuggestionRe: Accessing file from a remote location Pin
David Crow7-Dec-11 6:24
David Crow7-Dec-11 6:24 
Questionconvert from 'LPCTSTR' to 'const char *' Pin
Le@rner6-Dec-11 0:31
Le@rner6-Dec-11 0:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Code-o-mat6-Dec-11 1:31
Code-o-mat6-Dec-11 1:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Richard MacCutchan6-Dec-11 1:48
mveRichard MacCutchan6-Dec-11 1:48 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Rajesh R Subramanian6-Dec-11 2:00
professionalRajesh R Subramanian6-Dec-11 2:00 
QuestionSendMessage with WM_SETFOCUS and SetFocus() function Pin
msr_codeproject5-Dec-11 23:45
msr_codeproject5-Dec-11 23:45 

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.