Click here to Skip to main content
15,889,403 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How: each doc/view in own thread (advanced) Pin
Tomasz Sowinski13-Jul-01 1:31
Tomasz Sowinski13-Jul-01 1:31 
GeneralRe: How: each doc/view in own thread (advanced) Pin
#realJSOP13-Jul-01 1:41
mve#realJSOP13-Jul-01 1:41 
GeneralRe: How: each doc/view in own thread (advanced) Pin
EiSl13-Jul-01 3:12
EiSl13-Jul-01 3:12 
GeneralRe: How: each doc/view in own thread (advanced) Pin
#realJSOP13-Jul-01 7:29
mve#realJSOP13-Jul-01 7:29 
GeneralRe: How: each doc/view in own thread (advanced) Pin
EiSl15-Jul-01 19:47
EiSl15-Jul-01 19:47 
GeneralRe: How: each doc/view in own thread (advanced) Pin
#realJSOP16-Jul-01 0:29
mve#realJSOP16-Jul-01 0:29 
GeneralRe: How: each doc/view in own thread (advanced) Pin
EiSl16-Jul-01 21:41
EiSl16-Jul-01 21:41 
GeneralRe: How: each doc/view in own thread (advanced) Pin
#realJSOP17-Jul-01 1:53
mve#realJSOP17-Jul-01 1:53 
I had the same problem in a previous project that I inherited. We were storing messages coming across a network in an edit control. These messages could be anywhere from 2-64k in length, and that we got approximately 150 messages per minute, and we were simply adding them to the edit control with no thought of the size of the string *in* the edit control. Performance slowed to such a point that the CPU utilization was pegged at 100% and we got so far behind in the message queue that the only recourse was to do a hardware reset. The really embarassing part was that our app was the only one running. LOL

Anyway, we needed to have the edit control, so we changed the code buy only storing only the previous message in the edit control. Performance improved dramatically, and we regained keyboard control of the system.

Good luck on your project. Smile | :)

GeneralRe: How: each doc/view in own thread (advanced) Pin
Stephen C. Steel13-Jul-01 13:11
Stephen C. Steel13-Jul-01 13:11 
GeneralCOleDateTime Pin
12-Jul-01 23:19
suss12-Jul-01 23:19 
GeneralRe: COleDateTime Pin
markkuk13-Jul-01 8:12
markkuk13-Jul-01 8:12 
GeneralGetting parts of the Platform SDK Pin
12-Jul-01 23:15
suss12-Jul-01 23:15 
GeneralRe: Getting parts of the Platform SDK Pin
EiSl12-Jul-01 23:40
EiSl12-Jul-01 23:40 
GeneralStrange implementation in one of the samples... Pin
EiSl12-Jul-01 23:12
EiSl12-Jul-01 23:12 
GeneralCPropertySheet::RemovePage in MFC causes memory leak Pin
Serge Desmedt12-Jul-01 23:11
professionalSerge Desmedt12-Jul-01 23:11 
GeneralRe: CPropertySheet::RemovePage in MFC causes memory leak Pin
Tomasz Sowinski13-Jul-01 0:00
Tomasz Sowinski13-Jul-01 0:00 
GeneralRe: CPropertySheet::RemovePage in MFC causes memory leak Pin
Serge Desmedt13-Jul-01 5:33
professionalSerge Desmedt13-Jul-01 5:33 
GeneralSaving HICON to a file Pin
Deian12-Jul-01 22:45
Deian12-Jul-01 22:45 
GeneralWhy not delete the CSingleDocTemplate Pin
ndkk12-Jul-01 22:01
ndkk12-Jul-01 22:01 
GeneralProblem in RegQueryValueEx Pin
Yamuna12-Jul-01 21:35
Yamuna12-Jul-01 21:35 
GeneralByteBuffer Pin
12-Jul-01 21:12
suss12-Jul-01 21:12 
GeneralRe: ByteBuffer Pin
Tomasz Sowinski13-Jul-01 0:20
Tomasz Sowinski13-Jul-01 0:20 
GeneralScrollview & Zoom Pin
12-Jul-01 20:14
suss12-Jul-01 20:14 
GeneralRe: Scrollview & Zoom Pin
Tomasz Sowinski13-Jul-01 0:14
Tomasz Sowinski13-Jul-01 0:14 
GeneralCaller ID Pin
Vishnu Vijayan12-Jul-01 20:01
Vishnu Vijayan12-Jul-01 20:01 

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.