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

C / C++ / MFC

 
GeneralRe: timer Pin
Tomasz Sowinski13-Jul-01 0:49
Tomasz Sowinski13-Jul-01 0:49 
GeneralHow: each doc/view in own thread (advanced) Pin
EiSl12-Jul-01 23:28
EiSl12-Jul-01 23:28 
GeneralRe: How: each doc/view in own thread (advanced) Pin
Tomasz Sowinski12-Jul-01 23:48
Tomasz Sowinski12-Jul-01 23:48 
GeneralRe: How: each doc/view in own thread (advanced) Pin
EiSl13-Jul-01 0:45
EiSl13-Jul-01 0:45 
GeneralRe: How: each doc/view in own thread (advanced) Pin
Tomasz Sowinski13-Jul-01 1:08
Tomasz Sowinski13-Jul-01 1:08 
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 
Hello John,

Thanks for reply!!

This is already how it's working now.
When a new document is created (OnNewDocument), a communication thread (WinThread) is started, which is using CAsyncSockets for communications. When data has to be printed, it is passed to the document.

But...
When I've have more than 3 documents active, and they generating quite a lot data, the main app starts become less responsive since all the documents/view updates are done under the hood of the main application thread. That was the reason for asking a thread handling doc/view archtecture.

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

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.