Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC++ app execution slower than VB Pin
bgm5623-Jan-05 15:57
bgm5623-Jan-05 15:57 
GeneralRe: VC++ app execution slower than VB Pin
David Crow24-Jan-05 3:03
David Crow24-Jan-05 3:03 
GeneralRe: VC++ app execution slower than VB Pin
bgm5624-Jan-05 6:44
bgm5624-Jan-05 6:44 
GeneralRe: VC++ app execution slower than VB Pin
David Crow24-Jan-05 7:19
David Crow24-Jan-05 7:19 
GeneralRe: VC++ app execution slower than VB Pin
bgm5625-Jan-05 2:37
bgm5625-Jan-05 2:37 
GeneralRe: VC++ app execution slower than VB Pin
David Crow25-Jan-05 3:00
David Crow25-Jan-05 3:00 
GeneralRe: VC++ app execution slower than VB Pin
rwestgraham26-Jan-05 14:59
rwestgraham26-Jan-05 14:59 
GeneralRe: VC++ app execution slower than VB Pin
bgm563-Feb-05 16:10
bgm563-Feb-05 16:10 
Hi,

Thanks for the reply. I have been studying what the problem might be. I have download many code samples to see how they load files and how they behave.

Here's what I found so far.

Using the computer I am writing the app to run on at work ( a Celeron 700), a straight app wizard generated MFC program opening the 16.7 meg text file using serialization takes 47 seconds to completely load the file into the Rich text control.

Using an example I found using the same rich edit control and loading the file through the API, the file loads in just slightly over 30 seconds. A very noticable improvement.

I then found some examples using the scintilla control, which does everything I need.

I found one example using scintilla and MFC and another using it and API. The MFC version opened the file in 15 seconds while the API version opened it in 13. However the API sample did not support MDI so I think the 2 seconds is a good trade.

Thank you for your help and suggestions.


GeneralValidate a DLL Pin
paulb23-Jan-05 15:35
paulb23-Jan-05 15:35 
Questionimport VB ocx to VC++? Pin
Michael Flood23-Jan-05 12:34
Michael Flood23-Jan-05 12:34 
AnswerRe: import VB ocx to VC++? Pin
Mircea Puiu25-Jan-05 7:21
Mircea Puiu25-Jan-05 7:21 
GeneralRe: import VB ocx to VC++? Pin
Anonymous25-Jan-05 14:17
Anonymous25-Jan-05 14:17 
GeneralNetwork-wide file based locking (never mind) Pin
Ravi Bhavnani23-Jan-05 11:53
professionalRavi Bhavnani23-Jan-05 11:53 
GeneralDoh! Pin
Ravi Bhavnani23-Jan-05 12:49
professionalRavi Bhavnani23-Jan-05 12:49 
GeneralMFC closing a dialog Pin
tordyvel23-Jan-05 11:29
tordyvel23-Jan-05 11:29 
GeneralRe: MFC closing a dialog Pin
Ravi Bhavnani23-Jan-05 11:54
professionalRavi Bhavnani23-Jan-05 11:54 
GeneralRe: MFC closing a dialog Pin
toxcct23-Jan-05 22:18
toxcct23-Jan-05 22:18 
Questionwhat is the "external definition model" of VC++ ?? Pin
Tomas joy23-Jan-05 9:36
Tomas joy23-Jan-05 9:36 
AnswerRe: what is the "external definition model" of VC++ ?? Pin
David Crow24-Jan-05 7:21
David Crow24-Jan-05 7:21 
QuestionAnybody with DDK experience here? Pin
s.connery23-Jan-05 8:07
s.connery23-Jan-05 8:07 
Generalsearch engine Pin
jinshi23-Jan-05 5:40
jinshi23-Jan-05 5:40 
QuestionDLL PostMessage() --> how to evaluate in another application? Pin
nne-vitamin23-Jan-05 5:20
nne-vitamin23-Jan-05 5:20 
AnswerRe: DLL PostMessage() --> how to evaluate in another application? Pin
PJ Arends23-Jan-05 10:05
professionalPJ Arends23-Jan-05 10:05 
GeneralWhen is download complete Pin
tony777777723-Jan-05 4:52
tony777777723-Jan-05 4:52 
GeneralCRecordset and ATL COM Pin
xcavin23-Jan-05 3:36
xcavin23-Jan-05 3:36 

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.