Multithreaded MDI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a Multithreaded MDI application. I have to put a video display control on each ChildWindow that needs to run in a separate thread

I can't spawn each MDI window in a new thread, because of the parent thread exception
Any solutions

Thanks

BOb
 
Hi,


coder483975 said:
I need to create a Multithreaded MDI application. I have to put a video
display control on each ChildWindow that needs to run in a separate thread.
I can't spawn each MDI window in a new thread, because of the parent thread exception.
Any solutions?

You shouldn't touch visual controls in non-UI thread.
Rather, create childs from within main thread and let te child spawn
background thread.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top