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

C / C++ / MFC

 
GeneralMicrosoft Speech SDK V5.0 Pin
jerry0davis13-Jul-01 4:33
jerry0davis13-Jul-01 4:33 
GeneralListview Tooltip Pin
Anthony988713-Jul-01 4:03
Anthony988713-Jul-01 4:03 
GeneralRe: Listview Tooltip Pin
Derek Price13-Jul-01 5:23
Derek Price13-Jul-01 5:23 
GeneralATL Comm band: a few problems Pin
BigBear13-Jul-01 1:47
BigBear13-Jul-01 1:47 
GeneralRe: ATL Comm band: a few problems Pin
Erik Thompson13-Jul-01 7:22
sitebuilderErik Thompson13-Jul-01 7:22 
Generaltimer Pin
ov12-Jul-01 23:46
ov12-Jul-01 23:46 
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 
Hello guru's

I've a interessting problem, and probably the most will say: please don't do that because of the extra headache Big Grin | :-D

OK..

Because the fact I've a MDI application on which each doc/view can expect a lot of input. This input is no user input, but trace events read from TCP-socket. The communication handling for TCP/IP is already done it it's own thread, only passing data to the document when there's something to write. Also: I've a fast way of writing to the view, but some times the main application is very very slow in responding (moving/menu/toolbar etc) when more than 3 documents are handled with a lot of data. The problem is that all the doc/view handling is done under the hood of the applications main thread. This is the reason for wanting each doc/view in it's own thread.

Now I've read sometime somewhere that someone had put each doc/view in its own thread. The question is: how to do this for a MDI application Confused | :confused:

This is maybe also a very good article to store in CodeProject library.

Thanks in advance..

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

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.