CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: graey

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    10,780

    Re: Getting an object from a different thread

    I see. It's working now, but there's one minor thing I still don't like.
    Right now the rss-class creates a thread that downloads xml, processes the xml itself so that a public property of the...
  2. Replies
    13
    Views
    10,780

    Re: Getting an object from a different thread

    Ah, pass it as part of the event arguments, hadn't noticed that yet, sorry. That indeed seems like it will work exactly like I want it to! I'll change it so that the rss-class is listening to the...
  3. Replies
    13
    Views
    10,780

    Re: Getting an object from a different thread

    Yeah, some poor choice of words there on my behalf. The 'main' thread runs both the UI and loads the rss-class. Then the rss-class spawns another thread to download the XML. When that is done, the...
  4. Replies
    13
    Views
    10,780

    Re: Getting an object from a different thread

    The thing is: that's not really what I want to do.
    I have 2 threads within the rss-class, one 'main' thread that's running the rss-class, and my other thread that downloads the XML. When the...
  5. Replies
    13
    Views
    10,780

    Re: Getting an object from a different thread

    Quick fix (I can't edit my post (?)):
    System.Windows.Forms was only there to be able to show a messagebox every now and then, it's not there for any serious purpose and will be removed again, so...
  6. Replies
    13
    Views
    10,780

    Getting an object from a different thread

    Ok, I've done some googling, searched these forums, but I couldn't find the answer to my problem. So here it is:
    I've got a function in a class that creates a new thread which creates an XMLDocument...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured