Multithreaded MDI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • coder483975

    #1

    Multithreaded MDI

    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
  • Miha Markic

    #2
    Re: Multithreaded MDI

    Hi,


    "coder48397 5" <anonymous@disc ussions.microso ft.com> wrote in message
    news:EF419901-9832-42C5-AD15-7BCFEFFA6E3C@mi crosoft.com...[color=blue]
    > I need to create a Multithreaded MDI application. I have to put a video[/color]
    display control on each ChildWindow that needs to run in a separate thread.[color=blue]
    >
    > I can't spawn each MDI window in a new thread, because of the parent[/color]
    thread exception.[color=blue]
    > Any solutions?[/color]

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

    --
    Miha Markic - RightHand .NET consulting & development
    miha at rthand com


    Comment

    Working...