Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ATL MFC shell extension DLL LoadImage fails with 1813 Pin
Code-o-mat26-Feb-09 3:38
Code-o-mat26-Feb-09 3:38 
Questioninterprocess communication between flash and visual c++ Pin
praveensweb26-Feb-09 1:05
praveensweb26-Feb-09 1:05 
AnswerRe: interprocess communication between flash and visual c++ Pin
Code-o-mat26-Feb-09 1:16
Code-o-mat26-Feb-09 1:16 
GeneralRe: interprocess communication between flash and visual c++ Pin
Jim Crafton26-Feb-09 10:52
Jim Crafton26-Feb-09 10:52 
AnswerRe: interprocess communication between flash and visual c++ Pin
Nishad S26-Feb-09 1:58
Nishad S26-Feb-09 1:58 
AnswerRe: interprocess communication between flash and visual c++ Pin
lebaer26-Feb-09 19:22
lebaer26-Feb-09 19:22 
GeneralRe: interprocess communication between flash and visual c++ Pin
JackPuppy28-Feb-09 8:08
JackPuppy28-Feb-09 8:08 
QuestionLarge file handling using MFC Pin
Vikas K.26-Feb-09 1:03
Vikas K.26-Feb-09 1:03 
Hi,

I'm working on an application where it loads a huge file (like 4-6GB) and parses the file, searching for regular expressions, converting from Hex to Human readable form, filters etc.

Since the file is of very large size, I'm facing lot of performance issues where it takes hours to process and show the file information in a window.

To overcome this, what I did is, break the entire file into logical segments of 1 MB each and process 3 segments at a time. When the user is scrolling, the next segments will be processed. With this, a certain amount of improvements were done. But it is limited to files which are less than 300MB or so. For files which are over GBs, it is just crawling and pathetic.

Wondering if there is any better way to handle these large files in a better way so that the user need not wait for hours?

Will a buffered read and caching the decoded information in a temporary files using a thread would help? How can we make sure that the GUI doesn't hang during these intensive parsing process?

Really appreciate your suggestions.

Thanks
Vikas
AnswerRe: Large file handling using MFC Pin
Vikas K.26-Feb-09 1:04
Vikas K.26-Feb-09 1:04 
AnswerRe: Large file handling using MFC Pin
«_Superman_»26-Feb-09 1:54
professional«_Superman_»26-Feb-09 1:54 
AnswerRe: Large file handling using MFC Pin
Nishad S26-Feb-09 2:06
Nishad S26-Feb-09 2:06 
AnswerRe: Large file handling using MFC Pin
Stuart Dootson26-Feb-09 4:02
professionalStuart Dootson26-Feb-09 4:02 
GeneralRe: Large file handling using MFC Pin
Vikas K.3-Mar-09 19:22
Vikas K.3-Mar-09 19:22 
Questionwin 32 dll Pin
hrishiS26-Feb-09 0:10
hrishiS26-Feb-09 0:10 
AnswerRe: win 32 dll Pin
CPallini26-Feb-09 0:14
mveCPallini26-Feb-09 0:14 
GeneralRe: win 32 dll Pin
hrishiS26-Feb-09 0:18
hrishiS26-Feb-09 0:18 
GeneralRe: win 32 dll Pin
CPallini26-Feb-09 1:02
mveCPallini26-Feb-09 1:02 
GeneralRe: win 32 dll Pin
Iain Clarke, Warrior Programmer26-Feb-09 1:05
Iain Clarke, Warrior Programmer26-Feb-09 1:05 
JokeRe: win 32 dll Pin
Hamid_RT26-Feb-09 6:15
Hamid_RT26-Feb-09 6:15 
GeneralRe: win 32 dll Pin
Iain Clarke, Warrior Programmer26-Feb-09 6:39
Iain Clarke, Warrior Programmer26-Feb-09 6:39 
Questionadd-in for outlook express Pin
nikhil3125-Feb-09 23:44
nikhil3125-Feb-09 23:44 
AnswerRe: add-in for outlook express Pin
Vikas K.26-Feb-09 1:07
Vikas K.26-Feb-09 1:07 
AnswerRe: add-in for outlook express Pin
Crazy Kiya re26-Feb-09 17:36
Crazy Kiya re26-Feb-09 17:36 
Questionsetting background color of the dialog Pin
Member 163194525-Feb-09 23:08
Member 163194525-Feb-09 23:08 
JokeRe: setting background color of the dialog Pin
CPallini25-Feb-09 23:19
mveCPallini25-Feb-09 23:19 

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.